Re: YAML Fixture is not working. DeserializationError

2012-04-23 Thread James Rivett-Carnac
Your yaml doesn't seem to be correctly formated, should be: - model: translations.Language pk: 1 fields: code: fr display_name: Français - model: translations.Language pk: 2 fields: code: en display_name: English model, pk, and fields are all on the same indentatio

YAML Fixture is not working. DeserializationError

2012-04-09 Thread abisson
Good afternoon, I am trying to do: python manage.py syncdb and I always get this error: Problem installing fixture '.../translations/fixtures/initial_data.yaml': Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/core/