Opened 8 months ago

Closed 8 months 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(,


Attachments (0)

Change History (1)

comment:1 Changed 8 months ago by bmispelon

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed


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:


Add Comment

Modify Ticket

Change Properties
<Author field>
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.