[1.8.x] Updated tutorial 1 with actual migrate output.
This commit is contained in:
parent
6b1b7263f4
commit
9f86d86c62
|
@ -537,18 +537,16 @@ Now, run :djadmin:`migrate` again to create those model tables in your database:
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
$ python manage.py migrate
|
$ python manage.py migrate
|
||||||
|
|
||||||
Operations to perform:
|
Operations to perform:
|
||||||
Synchronize unmigrated apps: sessions, admin, messages, auth, staticfiles, contenttypes
|
Synchronize unmigrated apps: staticfiles, messages
|
||||||
Apply all migrations: polls
|
Apply all migrations: admin, contenttypes, polls, auth, sessions
|
||||||
Synchronizing apps without migrations:
|
Synchronizing apps without migrations:
|
||||||
Creating tables...
|
Creating tables...
|
||||||
|
Running deferred SQL...
|
||||||
Installing custom SQL...
|
Installing custom SQL...
|
||||||
Installing indexes...
|
|
||||||
Installed 0 object(s) from 0 fixture(s)
|
|
||||||
Running migrations:
|
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
|
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
|
applied (Django tracks which ones are applied using a special table in your
|
||||||
|
|
Loading…
Reference in New Issue