example_14 fails during loaddata step #72

easp opened this Issue Mar 21, 2013 · 3 comments


None yet
2 participants

easp commented Mar 21, 2013

I'm trying to get the example for django 1.4 running using the installation instructions here.

It fails when loading the sample data:

(env_mycms)eas:example_14 eas$ ./manage.py loaddata example_database.json
Problem installing fixture 'example_database.json': Traceback (most recent call last):
  File "/Users/eas/Prj/repos/mycms/env_mycms/lib/python2.7/site-packages/django/core/management/commands/loaddata.py", line 190, in handle
    for obj in objects:
  File "/Users/eas/Prj/repos/mycms/env_mycms/lib/python2.7/site-packages/django/core/serializers/json.py", line 47, in Deserializer
    raise DeserializationError(e)
DeserializationError: Page has no field named u'page_flags'

Near as I can tell, the problem is that the instructions install the cannonical version of django-cms, but the sample data includes page_flags which are only supported by evildmp/django-cms's fork.

I'm assuming that I can figure out how to install the evildmp/django-cms fork instead and everything will work, but I'm filing this issue, in part, so that it is documented for others to see.


evildmp commented Mar 21, 2013

Sorry, my mistake, it looks like I dumped the dataset from a version that included my PageFlags patch of django CMS last week. I'll correct that later this morning.


evildmp commented Mar 21, 2013

I've pushed the correct example_database.json. Thanks for the report, please try again, and let me know if you run into any other problems.

@evildmp evildmp closed this Mar 21, 2013

easp commented Mar 27, 2013

Thanks, the new fixture works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment