Opened 9 years ago

Last modified 9 years ago

#25934 closed Bug

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

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 (1)

comment:1 by phanminhnhat, 9 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top