summaryrefslogtreecommitdiff
path: root/docs/intro/tutorial01.txt
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-06-10 12:22:07 -0400
committerTim Graham <timograham@gmail.com>2014-06-10 14:37:37 -0400
commit93d05536fd8179483c725467de8e33454b48a430 (patch)
tree57a0d3ebbd50e3aa9f9c3b6e6678bb84a3ebf3d1 /docs/intro/tutorial01.txt
parenta00b78b1e2ac9bf271d55c1799138a27f5e0d03e (diff)
Fixed #22770 -- Removed create_superuser from post_migrate signals.
Moved logic to syncdb command for backwards compatibility.
Diffstat (limited to 'docs/intro/tutorial01.txt')
-rw-r--r--docs/intro/tutorial01.txt35
1 files changed, 1 insertions, 34 deletions
diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt
index 37dfef0d0d..2ce4adbe97 100644
--- a/docs/intro/tutorial01.txt
+++ b/docs/intro/tutorial01.txt
@@ -206,40 +206,7 @@ The :djadmin:`migrate` command looks at the :setting:`INSTALLED_APPS` setting
and creates any necessary database tables according to the database settings
in your :file:`mysite/settings.py` file and the database migrations shipped
with the app (we'll cover those later). You'll see a message for each
-migration it applies, and you'll get a prompt asking you if you'd like to
-create a superuser account for the authentication system.
-
-First, you'll be asked if you would like to create a superuser. Type the word
-``yes`` and hit enter.
-
-.. code-block:: text
-
- You have installed Django's auth system, and don't have any superusers defined.
- Would you like to create one now? (yes/no): yes
-
-Next, enter a username. By default, this will be your system username. Enter
-your desired username and press enter.
-
-.. code-block:: text
-
- Username (leave blank to use 'your_username'): admin
-
-You will then be prompted for your desired email address:
-
-.. code-block:: text
-
- Email address: admin@example.com
-
-The final step is to enter your password. You will be asked to enter your
-password twice, the second time as a confirmation of the first.
-
-.. code-block:: text
-
- Password: **********
- Password (again): *********
- Superuser created successfully.
-
-With that done, if you're interested, run the command-line client for your
+migration it applies. If you're interested, run the command-line client for your
database and type ``\dt`` (PostgreSQL), ``SHOW TABLES;`` (MySQL), or
``.schema`` (SQLite) to display the tables Django created.