Possible loaddata filename regression
|Reported by:||Owned by:||nobody|
|Component:||Core (Management commands)||Version:||1.6|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Just did a
pip install --upgrade Django from 1.5.5 to 1.6 to test what changes I'd need to make. Previously, the following worked fine:
python manage.py loaddata initial_data.auth.json
which was a handy way of declaring that some data might be needed on first-usage, without actually having it clobber whatever data is in the DB every time thereafter, as initial_data is wont to do.
As of 1.6, this now results in an error:
CommandError: Problem installing fixture 'initial_data': auth is not a known serialization format.
I can't see mention in the release notes, or the loaddata/dumpdata/fixtures docs suggesting anything has changed in such a way that this is expected behaviour.
Change History (8)
comment:1 Changed 3 years ago by
|Severity:||Normal → Release blocker|
|Triage Stage:||Unreviewed → Accepted|
comment:4 Changed 3 years ago by
|Cc:||Baptiste Mispelon removed|
|Severity:||Release blocker → Normal|
|Triage Stage:||Accepted → Unreviewed|