Fixed #21969: Fix behaviour of initial_data with migrated apps

This commit is contained in:
Andrew Godwin 2014-02-09 12:22:29 +00:00
parent 250841017c
commit d5df7a0515
5 changed files with 48 additions and 2 deletions

View file

@ -383,6 +383,16 @@ onto which the data will be loaded.
The :djadminopt:`--ignorenonexistent` option can be used to ignore fields that
may have been removed from models since the fixture was originally generated.
.. versionchanged:: 1.7
``--app`` was added.
.. django-admin-option:: --app
The :djadminopt:`--app` option can be used to specify a single app to look
for fixtures in rather than looking through all apps.
What's a "fixture"?
~~~~~~~~~~~~~~~~~~~