1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +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:
Andrew Godwin
2014-07-25 09:09:15 -07:00
parent 6e7e5bacd5
commit 2bacc9f3b7
3 changed files with 14 additions and 0 deletions

View File

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