1
0
mirror of https://github.com/django/django.git synced 2024-12-24 18:16:19 +00:00

[1.7.x] Add some syncdb deprecation stuff into the deprecation doc

Backport of 378359de1c from master
This commit is contained in:
Andrew Godwin 2014-03-25 13:58:47 -07:00 committed by Tim Graham
parent 81d3d48b5e
commit 1cb6729f58

View File

@ -36,6 +36,12 @@ details on these changes.
* ``allow_syncdb`` on database routers will no longer automatically become * ``allow_syncdb`` on database routers will no longer automatically become
``allow_migrate``. ``allow_migrate``.
* The ``DatabaseCreation`` class on each database backend will be removed,
and all table/schema editing will be moved to be via ``SchemaEditor`` instead.
* The legacy method of syncing apps without migrations will be removed,
and migrations will become compulsory for all apps.
* All models will need to be defined inside an installed application or * All models will need to be defined inside an installed application or
declare an explicit :attr:`~django.db.models.Options.app_label`. declare an explicit :attr:`~django.db.models.Options.app_label`.
Furthermore, it won't be possible to import them before their application Furthermore, it won't be possible to import them before their application