#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 )
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 by , 9 years ago
Description: | modified (diff) |
---|
comment:2 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In 4cd24bb6: