Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#10855 closed (fixed)

tutorial doesn't give sufficient warning about superuser account or there should be a default login

Reported by: cwolf127 Owned by: nobody
Component: Documentation Version: dev
Severity: Keywords: superuser admin
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

After a few day's break, I resumed the tutorial, starting on the second
installment at:
http://docs.djangoproject.com/en/dev/intro/tutorial02/

Whereupon, I run into this instruction:

    "Now, try logging in. (You created a superuser account in the first part of this tutorial, remember?)"

Well, no, I don't - yes it's my fault for not writing it down, but this is just a
tutorial, so why doesn't the admin app have a default login?

Going back to tutorial-1, the only thing it says about the superuser account
is this:

    "...and you'll get a prompt asking you if you'd like to create a superuser account for the authentication system. Go ahead and do that."

I think there should be a warning for absent-minded programmers that there IS NO WAY to
recover the superuser password.

This FAQ did not help for this issue:

FAQ: Invalid Login

I tried poking around in the database for this information, and fortunately, (from a
security perspective) found there's no way to get the superuser password.

The only recourse I can see is to nuke the tutorial site and start all over again
from the beginning.

Attachments (1)

10855.diff (1.0 KB ) - added by Tim Graham 15 years ago.
linking to how to create another superuser as suggested

Download all attachments as: .zip

Change History (7)

comment:1 by cwolf127, 15 years ago

Component: UncategorizedDocumentation
Keywords: superuser admin added
Needs documentation: set

comment:2 by cwolf127, 15 years ago

I was able to rescue my tutorial site by creating a new superuser, as described on this page:
http://docs.djangoproject.com/en/dev/topics/auth/#creating-superusers

I recommend adding this to the Tutorial-2 page where it tauntingly says:

"Now, try logging in. (You created a superuser account in the first part of this tutorial, remember?)"

by Tim Graham, 15 years ago

Attachment: 10855.diff added

linking to how to create another superuser as suggested

comment:3 by Tim Graham, 15 years ago

Has patch: set
Needs documentation: unset
Triage Stage: UnreviewedReady for checkin
Version: 1.0SVN

comment:4 by George Song, 15 years ago

Summary: tutorial doesn't give sufficient waring about superuser account or there should be a default logintutorial doesn't give sufficient warning about superuser account or there should be a default login

comment:5 by Karen Tracey, 15 years ago

Resolution: fixed
Status: newclosed

(In [10810]) Fixed #10855: Reference doc on creating superusers in the tutorial at the point where an account is needed, so that readers who neglected to create one earlier (or who forgot the password) don't get stuck or think they have to start all over. Thanks cwolf127 and timo.

comment:6 by Karen Tracey, 15 years ago

(In [10811]) [1.0.X] Fixed #10855: Reference doc on creating superusers in the tutorial at the point where an account is needed, so that readers who neglected to create one earlier (or who forgot the password) don't get stuck or think they have to start all over. Thanks cwolf127 and timo.

r10810 from trunk.

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