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:
@@ -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
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user