1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Mark initial_data as deprecated separately from syncdb. Refs #23077.

This commit is contained in:
Andrew Godwin
2014-07-25 09:09:15 -07:00
parent ed4812692e
commit f44dbf74a4
3 changed files with 13 additions and 4 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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~