[Django] #21385: Tutorial part 2 missing steps to enable admin page (uncommenting urls.py)

3 views
Skip to first unread message

Django

unread,
Nov 4, 2013, 2:02:03 PM11/4/13
to django-...@googlegroups.com
#21385: Tutorial part 2 missing steps to enable admin page (uncommenting urls.py)
-------------------------------+--------------------
Reporter: anonymous | Owner: nobody
Type: Uncategorized | Status: new
Component: Documentation | Version: 1.4
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
https://docs.djangoproject.com/en/dev/intro/tutorial02/

In order to access the admin page following along in the tutorial, you
must also uncomment several lines in the urls.py which is not mentioned in
part 1 or part 2 of the tutorial


{{{
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
...
# Uncomment the next line to enable the admin:
url(r'^admin/', include(admin.site.urls)),
)
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/21385>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Nov 4, 2013, 2:10:15 PM11/4/13
to django-...@googlegroups.com
#21385: Tutorial part 2 missing steps to enable admin page (uncommenting urls.py)
-------------------------------+--------------------------------------
Reporter: anonymous | Owner: nobody
Type: Uncategorized | Status: closed
Component: Documentation | Version: 1.4
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by timo):

* status: new => closed
* needs_docs: => 0
* resolution: => invalid
* needs_tests: => 0
* needs_better_patch: => 0


Comment:

You are looking at the tutorial for the development version of Django
(note "dev" in the URL). You can access the tutorial that corresponds to
Django 1.4 here: https://docs.djangoproject.com/en/1.4/intro/tutorial02/

--
Ticket URL: <https://code.djangoproject.com/ticket/21385#comment:1>

Reply all
Reply to author
Forward
0 new messages