mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Removed support for syncing apps without migrations per deprecation timeline.
Kept support for creating models without migrations when running tests (especially for Django's test suite).
This commit is contained in:
@@ -537,16 +537,13 @@ 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 indexes...
|
||||
Apply all migrations: admin, contenttypes, polls, auth, sessions
|
||||
Running migrations:
|
||||
Rendering model states... DONE
|
||||
...
|
||||
Applying polls.0001_initial... 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
|
||||
|
||||
Reference in New Issue
Block a user