Migration fixes so that bringing the site up from scratch works

pull/3/head
Matt Westcott 2014-01-24 12:44:48 +00:00
rodzic 5c69d3ae23
commit 0decab0996
2 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -8,7 +8,7 @@ class Migration(DataMigration):
def forwards(self, orm):
page_content_type, created = orm['contenttypes.contenttype'].objects.get_or_create(
model='page', app_label='core', defaults={'name': 'page'})
model='page', app_label='wagtailcore', defaults={'name': 'page'})
root = orm['wagtailcore.page'].objects.create(
title="Root",