#9572: Django Initial Data HOWTO specifies wrong file extension for YAML
initial_data fixture
-------------------------------+--------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: nobody
Status: new | Milestone:
Component: Documentation | Version: 1.0
Keywords: | Stage: Unreviewed
Has_patch: 0 |
-------------------------------+--------------------------------------------
The current version of the docs
([http://docs.djangoproject.com/en/dev/howto/initial-data/#automatically-
loading-initial-data-fixtures 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'.
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/9572>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---