1
0
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:
Andrew Godwin
2013-07-30 12:08:59 +01:00
parent 68e0a169c4
commit 12e9804d16
17 changed files with 61 additions and 47 deletions

View File

@@ -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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~