Hi, I am getting the same problem, despite having include in my mysite\urls.py file. I am using Python 2.7.6, Django 1.9.4 and Ubuntu 14.04.3 LTS. Could it by a Python 2.7 problem? Thanks, Ruth
On Wednesday, March 2, 2016 at 12:19:16 PM UTC-8, [email protected] wrote: > > Glad you got it solved!! > > > On Monday, February 29, 2016 at 10:10:58 PM UTC+1, Mike Kipling wrote: >> >> I found the problem. >> >> When the mysite\urls.py file is created, it has this line already in it. >> >> from django.conf.urls import url >> >> The tutorial asks you to add the following lines to the file. >> >> from django.conf.urls import include, url >> from django.contrib import admin >> >> urlpatterns = [ >> url(r'^polls/', include('polls.urls')), >> url(r'^admin/', admin.site.urls), >> ] >> >> I must did not notice that the 'include' was different, and so I had not >> placed it into the file. I changed the file to add the 'include' and >> everything worked. >> >> Thank you for the help. >> > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/c14e04f8-be34-4569-ae42-48e8d4135a2c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

