mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
[1.7.x] Mark initial_data as deprecated separately from syncdb. Refs #23077.
Conflicts: docs/internals/deprecation.txt
This commit is contained in:
@@ -7,6 +7,7 @@ in a backward incompatible way, following their deprecation, as per the
|
||||
:ref:`deprecation policy <internal-release-deprecation-policy>`. More details
|
||||
about each item can often be found in the release notes of two versions prior.
|
||||
|
||||
|
||||
.. _deprecation-removed-in-1.9:
|
||||
|
||||
1.9
|
||||
@@ -31,6 +32,10 @@ details on these changes.
|
||||
* ``allow_syncdb`` on database routers will no longer automatically become
|
||||
``allow_migrate``.
|
||||
|
||||
* The legacy method of syncing apps without migrations will be removed,
|
||||
and migrations will become compulsory for all apps. This includes automatic
|
||||
loading of ``initial_data`` fixtures and support for initial SQL data.
|
||||
|
||||
* All models will need to be defined inside an installed application or
|
||||
declare an explicit :attr:`~django.db.models.Options.app_label`.
|
||||
Furthermore, it won't be possible to import them before their application
|
||||
|
||||
Reference in New Issue
Block a user