mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Rename allow_syncdb to allow_migrate
This commit is contained in:
@@ -52,7 +52,10 @@ but a few of the key features are:
|
||||
:data:`~django.db.models.signals.post_migrate` respectively. The
|
||||
``create_models``/``created_models`` argument has also been deprecated.
|
||||
|
||||
* Routers something something.
|
||||
* The ``allow_syncdb`` method on database routers is now called ``allow_migrate``,
|
||||
but still performs the same function. Routers with ``allow_syncdb`` methods
|
||||
will still work, but that method name is deprecated and you should change
|
||||
it as soon as possible (nothing more than renaming is required).
|
||||
|
||||
Admin shortcuts support time zones
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Reference in New Issue
Block a user