Opened 18 years ago
Closed 18 years ago
#4370 closed (fixed)
initial_data must have an extension for syncdb to recognize it
Reported by: | Owned by: | Jacob | |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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.
Attachments (3)
Change History (6)
by , 18 years ago
Attachment: | django-admin.diff added |
---|
comment:1 by , 18 years ago
Has patch: | set |
---|---|
Triage Stage: | Unreviewed → Ready for checkin |
comment:2 by , 18 years ago
by , 18 years ago
Attachment: | django-admin.3.diff added |
---|
and changed slightly again to parallel wording in loaddata section
comment:3 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
This is mentioned in the
loaddata
section, but the attached patch briefly notes this in the {{{initial_data}} section too.