Chapter 4 - localhost:8000 not working


Made adjustments to all of the files, added the “from django.conf.urls import include” line to the and made the index.html file, but when I try to load the http://localhost:8000/ page, it says it can’t connect.

I got it to load the first time through at the end of Chapter 3. Not sure what I am doing wrong. Can someone help?


Make sure you have a local server running — that’s the python runserver command. :)


Thank you so much! I did try that last night, but I got an error:

“Traceback (most recent call last):
File “”, line 8, in
from import execute_from_command_line
ImportError: No module named”

I can’t figure out what I might have done wrong between Monday and Tuesday to have made that not work.


AH! I got it. THANK YOU!


Yay! Sounds like you weren’t in your virtual environment. :)