#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:
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)
Change History (7)
comment:1 by , 16 years ago
Component: | Uncategorized → Documentation |
---|---|
Keywords: | superuser admin added |
Needs documentation: | set |
comment:2 by , 16 years ago
by , 16 years ago
Attachment: | 10855.diff added |
---|
linking to how to create another superuser as suggested
comment:3 by , 16 years ago
Has patch: | set |
---|---|
Needs documentation: | unset |
Triage Stage: | Unreviewed → Ready for checkin |
Version: | 1.0 → SVN |
comment:4 by , 16 years ago
Summary: | tutorial doesn't give sufficient waring about superuser account or there should be a default login → tutorial doesn't give sufficient warning about superuser account or there should be a default login |
---|
comment:5 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:6 by , 16 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.
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: