tapetersen/aksite — Issue #1: initial syncdb fails due to queries in models.py
Author: tapetersen
Created: 2011-12-08 13:38:28+00:00
State: open

syncdb can't create table since it fails importing models.py due to the queries that assume the tables are already there.

app/models.py:177
content_type = ContentType.objects.get(app_label='page', model='page')
permission = Permission.objects.get_or_create(codename='can_view',
name='Can view page',
content_type=content_type)