#9572 closed (fixed)
Django Initial Data HOWTO specifies wrong file extension for YAML initial_data fixture
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Documentation | Version: | 1.0 |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The current version of the docs (Initial Data HOWTO) suggest inital_data should have a .yml file extension in order to be used with manage.py syncdb.
However, this file is not detected - the correct extension appears to be .yaml:
Saving an "initial_data.yml" file gives the following relevant lines when used with manage.py syncdb --verbosity=2:
Checking '../tgt/reviews/fixtures' for fixtures... Trying '../tgt/reviews/fixtures' for xml fixture 'initial_data'... No yaml fixture 'initial_data' in '../tgt/reviews/fixtures'.
Saving an "initial_data.yaml" file gives the following relevant lines when used with manage.py syncdb --verbosity=2
Checking '../tgt/reviews/fixtures' for fixtures... Trying '../tgt/reviews/fixtures' for yaml fixture 'initial_data'... Installing yaml fixture 'initial_data' from '../tgt/reviews/fixtures'.
Change History (3)
comment:1 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 16 years ago
comment:3 by , 16 years ago
Note:
See TracTickets
for help on using tickets.
(In [9401]) Fixed #9572 -- Corrected some documentation that misleadingly gave the extension for YAML fixtures as YML. Thanks to django@… for the report.