#8532: Using Yaml format in Fixtures ----------------------------------------+----------------------------------- Reporter: amiroff | Owner: nobody Status: new | Milestone: Component: Documentation | Version: SVN Keywords: fixtures loaddata yml yaml | Stage: Unreviewed Has_patch: 0 | ----------------------------------------+----------------------------------- By default, loaddata command only looks for xml and json fixtures. Documentation at http://docs.djangoproject.com/en/dev/howto/initial-data /#providing-initial-data-with-fixtures also mentions YAML format as being supported out of the box.
That is not true and misleading. At least on windows, PyYaml (http://pyyaml.org/wiki/PyYAML) must be installed on system for Django to look for .yaml files in fixture directories. I think that should be documented, because new users can waste lots of hours wondering why their fixtures do not get loaded. Also, using loaddata with --verbosity=2 can help diagnosing the problem. Mentioning this on documentation page could be a good step. -- Ticket URL: <http://code.djangoproject.com/ticket/8532> Django Code <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 -~----------~----~----~----~------~----~------~--~---
