Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialtc11
19,518 PointsServer Issues.
I made an app that I called "Developement" before I tried to make this app which is called "Learning_site. I ran Developement on 0.0.0.0:8000 . I have now tried to run "Learning_site: on 0.0.0.0:8000 as well but when I try: python manage.py runserver 0.0.0.0:8000 for "Learning_site it just starts the "Developement" app.
I then tried to run "Learning_site" on 0.0.0.0:9000 but when I run: python manage.py runserver 0.0.0.0:9000 it just starts the "Developement" app again.
So I am basically trying to run "Learning_site" on a server but every time I try to it just starts "Developement".. Any help would be glady appreciated.
- Thank You.
1 Answer
tc11
19,518 PointsHello Christopher,
It is a very weird bug and I do not know how to change it. For now, I have begun to use a python virtual environment, so I am able to construct websites and apps of such, but "development" is now my default bugged server. If I were to paste the apps here you would have to look over many, many files. Thus, I will try to complete this assignment the best I can for now.
-Thank You
Christopher Shaw
Python Web Development Techdegree Graduate 58,248 PointsChristopher Shaw
Python Web Development Techdegree Graduate 58,248 PointsIt would help to paste the contents of app.py from Learning site and the installed_apps from settings to see where the problem may be.