Hi, I am following the Django tutorial and am having some difficulty.
I followed all the instructions to the end. Everything works up to the part about configuring views, when I uncomment the views line in urls.py, I start getting the following errors:
TemplateSyntaxError at /admin/
Caught ViewDoesNotExist while rendering: Could not import mysite.myapp.views. Error was: No module named database
The tutorial says to uncomment this line in urls.py:
url(r'^$', 'mysite.myapp.views.home', name='home'),
Which is what I did, although I would note that in the actual urls.py, the actual line of code is:
url(r'^$', 'mysite.views.home', name='home'),
So I added in the myapp part.