mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Refactored the migration signals to use app configs.
De-aliased pre/post_syncdb to pre/post_migrate to increase backwards-compatibility.
This commit is contained in:
parent
5782c94f23
commit
00110904ac
11 changed files with 187 additions and 76 deletions
|
@ -165,10 +165,7 @@ these changes.
|
|||
* The ``syncdb`` command will be removed.
|
||||
|
||||
* ``django.db.models.signals.pre_syncdb`` and
|
||||
``django.db.models.signals.post_syncdb`` will be removed, and
|
||||
``django.db.models.signals.pre_migrate`` and
|
||||
``django.db.models.signals.post_migrate`` will lose their
|
||||
``create_models`` and ``created_models`` arguments.
|
||||
``django.db.models.signals.post_syncdb`` will be removed.
|
||||
|
||||
* ``allow_syncdb`` on database routers will no longer automatically become
|
||||
``allow_migrate``.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue