Closed MarkusH closed 10 years ago
Sent from my Android device with K-9 Mail. Please excuse my brevity.
Yes, just the formatting is IMO problematic.
Changed
Hmm... on a new db I get this error:
IntegrityError: Problem installing fixture 'fixtures/europython2014/initial.json': Could not load cms.Page(pk=1): duplicate key value violates unique constraint "cms_placeholder_pkey"
DETAIL: Key (id)=(1) already exists.
The way Django-CMS handles the placeholders is somewhat weird. It didn't manage to make a single fixture working due to, I assume, the Django transaction management, but I'm not really sure. Thus first load initial01 and after that initial02.
Furthermore I added a warning that redis needs to be running, since Django-CMS calls cache commands.
Please create the fixture with an indentation of 4 to make it readable and maintainable.