"File format may be invalid" bug in management.commands.loaddata
|Reported by:||Owned by:||nobody|
|Has patch:||yes||Needs documentation:|
|Needs tests:||Patch needs improvement:|
If you try to load more than one fixture, one without any object, the output maybe wrong.
Eg. account with zero object, and blog with any number of objects.
>>> from django.core import management >>> management.call_command('loaddata', *['account', 'blog'], verbosity=0) No fixture data found for 'blog'. (File format may be invalid.)