Browse files

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.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10810 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 33e77db commit b527a59da80a276163b975a0fdc97d84e967b87e @kmtracey kmtracey committed May 17, 2009
Showing with 5 additions and 1 deletion.
  1. +3 −1 docs/intro/tutorial02.txt
  2. +2 −0 docs/topics/auth.txt
View
4 docs/intro/tutorial02.txt
@@ -86,7 +86,9 @@ Enter the admin site
====================
Now, try logging in. (You created a superuser account in the first part of this
-tutorial, remember?) You should see the Django admin index page:
+tutorial, remember? If you didn't create one or forgot the password you can
+:ref:`create another one <topics-auth-creating-superusers>`.) You should see
+the Django admin index page:
.. image:: _images/admin02t.png
:alt: Django admin index page
View
2 docs/topics/auth.txt
@@ -398,6 +398,8 @@ In practice, you probably won't need to use
:class:`~django.contrib.auth.models.AnonymousUser` objects on your own, but
they're used by Web requests, as explained in the next section.
+.. _topics-auth-creating-superusers:
+
Creating superusers
-------------------

0 comments on commit b527a59

Please sign in to comment.