From fc24a690288e5ff79e50486fc410c9c56fafafe1 Mon Sep 17 00:00:00 2001 From: Karen Tracey Date: Sun, 17 May 2009 17:57:41 +0000 Subject: [PATCH] [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. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10811 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/intro/tutorial02.txt | 4 +++- docs/topics/auth.txt | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/intro/tutorial02.txt b/docs/intro/tutorial02.txt index 61215def99..3962e7d439 100644 --- a/docs/intro/tutorial02.txt +++ b/docs/intro/tutorial02.txt @@ -83,7 +83,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 `.) You should see +the Django admin index page: .. image:: _images/admin02t.png :alt: Django admin index page diff --git a/docs/topics/auth.txt b/docs/topics/auth.txt index e422baf839..6dd41fff73 100644 --- a/docs/topics/auth.txt +++ b/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 -------------------