Opened 11 years ago

Closed 11 years ago

#21030 closed Cleanup/optimization (invalid)

Clarify in tutorial02 that user must uncomment lines in urls.py to access admin site

Reported by: Susan Tan Owned by: Susan Tan
Component: Documentation Version: 1.6-alpha-1
Severity: Normal Keywords: tutorial02, tutorial, documentation
Cc: susan.tan.fleckerl@… Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

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.

Change History (2)

comment:1 by Susan Tan, 11 years ago

Cc: susan.tan.fleckerl@… added
Owner: changed from nobody to Susan Tan
Status: newassigned

comment:2 by Marc Tamlyn, 11 years ago

Resolution: invalid
Status: assignedclosed

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/

Note: See TracTickets for help on using tickets.
Back to Top