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 trial
tracy rohlin3,793 Points
How to use web page using different IDE?
I'm using pycharm and as far as i can tell there's no "preview" button which would take me to the page after i've connected to the server. My husband told me to type in localhost:8000 but I get a 404. It says that Django tried the courses/ url and the current url didn't match any of that. How do I check out the webpage if I'm not using workspaces?
Max Hirsh16,773 Points
I'm not familiar with pycharm, but if it's causing issues with previewing the webpage, I would recommend previewing your web page from the mac/linux terminal. Here's a link to the first page of the django tutorial with an example of starting the django server:
Flore W4,743 Points
In PyCharm, when you run in the Terminal window:
python manage.py runserver
there should be a message appearing along the lines of:
Starting development server at http://127.0.0.1:8000/
Just click on the link, or copy paste into your browser and voila!