mirror of
https://github.com/django/django.git
synced 2025-08-18 17:50:58 +00:00
[1.7.x] Updated tutorial 1 with actual migrate output.
This commit is contained in:
parent
5f600db37a
commit
467fd7ea1a
1 changed files with 2 additions and 10 deletions
|
@ -544,18 +544,10 @@ 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
|
||||
Synchronizing apps without migrations:
|
||||
Creating tables...
|
||||
Installing custom SQL...
|
||||
Installing indexes...
|
||||
Installed 0 object(s) from 0 fixture(s)
|
||||
Apply all migrations: admin, contenttypes, polls, auth, sessions
|
||||
Running migrations:
|
||||
Applying polls.0001_initial... OK
|
||||
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue