initial_data must have an extension for syncdb to recognize it
|Reported by:||Owned by:||Jacob|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The following, from http://www.djangoproject.com/documentation/django-admin/, should mention that initial_data must have the .json or .xml extension for syncdb to see it:
syncdb will also search for and install any fixture named initial_data. See the documentation for loaddata for details on the specification of fixture data files.
Perhaps replace with
syncdb will also search for and install any fixture named initial_data.json or initial_data.xml. See the documentation for loaddata for details on the specification of fixture data files.
Change History (6)
comment:1 Changed 9 years ago by
|Patch needs improvement:||unset|
|Triage Stage:||Unreviewed → Ready for checkin|