#16169: Tutorial 2 with error in mysite/urls.py content
--------------------------------+-------------------------------
Reporter: reinaldo.sanches@… | Owner: nobody
Type: Bug | Status: new
Milestone: | Component: Documentation
Version: 1.3 | Severity: Normal
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Easy pickings: 0
--------------------------------+-------------------------------
On piece of code of headline "Activate the admin site", the 3rd bold line
to uncomment is different of startproject auto-generated urls.py:
documentation:
{{{
#!python
# Uncomment the next line to enable the admin:
(r'^admin/', include(admin.site.urls)),
)
}}}
auto-generated:
{{{
#!python
# Uncomment the next line to enable the admin:
url(r'^admin/', include(admin.site.urls)),
)
}}}
Documentation is suppressing the url function name.
--
Ticket URL: <https://code.djangoproject.com/ticket/16169>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.