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
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/
2 matches
Mail list logo