[Django] #21030: Clarify in tutorial02 that user must uncomment lines in urls.py to access admin site

0 views
Skip to first unread message

Django

unread,
Sep 4, 2013, 4:28:20 AM9/4/13
to django-...@googlegroups.com
#21030: Clarify in tutorial02 that user must uncomment lines in urls.py to access
admin site
-------------------------------------+-------------------------------------
Reporter: susan | Owner: nobody
Type: | Status: new
Cleanup/optimization | Version: 1.6-alpha-1
Component: Documentation | Keywords: tutorial02, tutorial,
Severity: Normal | documentation
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
https://docs.djangoproject.com/en/dev/intro/tutorial02/#start-the-
development-server

Since I haven't used Django for half a year, I've been (re)-learning
Django by following the dev version of the 4-part tutorial. I've reached
tutorial part 2 and that was the part where I was puzzled and reached a
stumbling block. I go to /admin/ and the page is a welcome page, not the
admin login site as indicated in tutorial. I was able to solve the problem
by reading the instructions inside urls.py; those instructions tell me to
uncomment certain lines inside urls.py.

There's no documentation within the tutorial02.txt that explicitly states
that the user must uncomment the lines in urls.py in order for the user to
access the admin site. I would be happy to make a doc patch to clarify
this aspect of the tutorial02.txt.

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

Django

unread,
Sep 4, 2013, 4:28:58 AM9/4/13
to django-...@googlegroups.com
#21030: Clarify in tutorial02 that user must uncomment lines in urls.py to access
admin site
-------------------------------------+-------------------------------------
Reporter: susan | Owner: susan
Type: | Status: assigned
Cleanup/optimization | Version:
Component: Documentation | 1.6-alpha-1
Severity: Normal | Resolution:
Keywords: tutorial02, | Triage Stage:
tutorial, documentation | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

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

* status: new => assigned
* cc: susan.tan.fleckerl@… (added)
* needs_better_patch: => 0
* needs_tests: => 0
* owner: nobody => susan
* needs_docs: => 0


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

Django

unread,
Sep 4, 2013, 4:41:15 AM9/4/13
to django-...@googlegroups.com
#21030: Clarify in tutorial02 that user must uncomment lines in urls.py to access
admin site
-------------------------------------+-------------------------------------
Reporter: susan | Owner: susan
Type: | Status: closed

Cleanup/optimization | Version:
Component: Documentation | 1.6-alpha-1
Severity: Normal | Resolution: invalid

Keywords: tutorial02, | Triage Stage:
tutorial, documentation | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

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

* status: assigned => closed
* resolution: => invalid


Comment:

This version of the tutorial applies to the development version of Django.
The soon to be released version 1.6 will have a changed default project
layout which does have the admin enabled by default.

Note that the 1.5 tutorial does indeed have this comment:
https://docs.djangoproject.com/en/1.5/intro/tutorial02/

--
Ticket URL: <https://code.djangoproject.com/ticket/21030#comment:2>

Reply all
Reply to author
Forward
0 new messages