Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#25934 closed Bug (fixed)

Lacking of app_name = 'polls' for "writing your first Django app" part 4 -Amend URLconf document

Reported by: phanminhnhat Owned by: nobody
Component: Documentation Version: 1.9
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

Description (last modified by phanminhnhat)

In "writing your first Django app" part 4 -Amend URLconf document , it is lacking of one line of code about app name for urls.py file: (https://docs.djangoproject.com/en/1.9/intro/tutorial04/)
app_name = 'polls'

It will generate issue:
NoReverseMatch at /polls/
u'polls' is not a registered namespace

Change History (3)

comment:1 Changed 7 years ago by phanminhnhat

Description: modified (diff)

comment:2 Changed 7 years ago by Tim Graham <timograham@…>

Resolution: fixed
Status: newclosed

In 4cd24bb6:

Fixed #25934 -- Added missing app_name in tutorial 4's urls.py.

comment:3 Changed 7 years ago by Tim Graham <timograham@…>

In 45ea0074:

[1.9.x] Fixed #25934 -- Added missing app_name in tutorial 4's urls.py.

Backport of 4cd24bb67c8d82630817e97ab9ba444ca955a94d from master

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