summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAndrew Godwin <andrew@aeracode.org>2014-07-25 09:09:15 -0700
committerAndrew Godwin <andrew@aeracode.org>2014-07-25 09:09:15 -0700
commitf44dbf74a4abf9c45d49568c7ca46363ff6e5112 (patch)
tree640d5df0d0fae9be3af048474756974e11cbffc8 /docs
parented4812692e3a103444303b0a3dd1429bbdf9511c (diff)
Mark initial_data as deprecated separately from syncdb. Refs #23077.
Diffstat (limited to 'docs')
-rw-r--r--docs/internals/deprecation.txt8
-rw-r--r--docs/releases/1.7.txt3
2 files changed, 7 insertions, 4 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt
index cc219343a3..f1cdfdb6be 100644
--- a/docs/internals/deprecation.txt
+++ b/docs/internals/deprecation.txt
@@ -28,10 +28,6 @@ about each item can often be found in the release notes of two versions prior.
* 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. This includes automatic
- loading of fixtures and support for initial SQL data.
-
* The ability to :func:`~django.core.urlresolvers.reverse` URLs using a dotted
Python path will be removed.
@@ -68,6 +64,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
diff --git a/docs/releases/1.7.txt b/docs/releases/1.7.txt
index ac7ed7cd77..7bd13c6c12 100644
--- a/docs/releases/1.7.txt
+++ b/docs/releases/1.7.txt
@@ -961,6 +961,9 @@ Instead, you are encouraged to load initial data in migrations if you need it
this has the added advantage that your initial data will not need updating
every time you change the schema.
+Additionally, like the rest of Django's old ``syncdb`` code, ``initial_data``
+has been started down the deprecation path and will be removed in Django 1.9.
+
deconstruct() and serializability
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~