#25934: Lacking of app_name = 'polls' for "writing your first Django app" part 4
-Amend URLconf document
-------------------------------+--------------------
Reporter: phanminhnhat | Owner: nobody
Type: Bug | Status: new
Component: Documentation | Version: 1.9
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
In "writing your first Django app" part 4 -Amend URLconf document , it is
lacking of the 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
--
Ticket URL: <https://code.djangoproject.com/ticket/25934>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/055.e1c57b0d6dec2522d31c94d400adcba9%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.