Opened 6 years ago

Closed 6 years ago

#20912 closed Uncategorized (invalid)

A little modification on the tutorial

Reported by: anonymous Owned by: nobody
Component: Documentation Version: 1.5
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Im unsure why, but on the beginning of the 3rd part of the tutorial, in the configuration of polls.urls only worked after I added mysite to polls

from polls import views

I changed to
from mysite.polls import views

Also added the mysite to the other
urlpatterns = patterns(,

url(r'polls/', include('mysite.polls.urls')),
admin/', include(,


Change History (1)

comment:1 Changed 6 years ago by Baptiste Mispelon

Resolution: invalid
Status: newclosed


The tutorial looks correct to me so something else must have gone wrong on your end.

Here's a few things you could check:

  • Make sure you're following the tutorial for the version of django you're actually using (there's a version switcher on the lower right hand corner of each page of the documentation);
  • Make sure you've followed the project/app creation process correctly. For example, make sure you've run the startapp command from inside the top-level directory of your project.

If you're still running into problems, you can get some more help on our support channels:


Note: See TracTickets for help on using tickets.
Back to Top