summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-01-17 10:46:27 -0500
committerTim Graham <timograham@gmail.com>2015-01-17 10:46:27 -0500
commit9f86d86c62e5e805ba0191ccd546e174301998ea (patch)
tree6a53c420e0ed5ad0d310bf5a4b7843b1603400a3 /docs
parent6b1b7263f4b0065a8a514abfd7e74e17e742dbf6 (diff)
[1.8.x] Updated tutorial 1 with actual migrate output.
Diffstat (limited to 'docs')
-rw-r--r--docs/intro/tutorial01.txt12
1 files changed, 5 insertions, 7 deletions
diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt
index 8c9c4a30e7..5881878e68 100644
--- a/docs/intro/tutorial01.txt
+++ b/docs/intro/tutorial01.txt
@@ -537,18 +537,16 @@ Now, run :djadmin:`migrate` again to create those model tables in your database:
.. code-block:: bash
$ python manage.py migrate
-
Operations to perform:
- Synchronize unmigrated apps: sessions, admin, messages, auth, staticfiles, contenttypes
- Apply all migrations: polls
+ Synchronize unmigrated apps: staticfiles, messages
+ Apply all migrations: admin, contenttypes, polls, auth, sessions
Synchronizing apps without migrations:
Creating tables...
+ Running deferred SQL...
Installing custom SQL...
- Installing indexes...
- Installed 0 object(s) from 0 fixture(s)
Running migrations:
- Applying polls.0001_initial... OK
-
+ Rendering model states... DONE
+ Applying <migration name>... OK
The :djadmin:`migrate` command takes all the migrations that haven't been
applied (Django tracks which ones are applied using a special table in your