mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
Project template: Fixed migration dependency
The project template currently crashes on first migrate because it tries to run the create homepage migration before the Page.locked field is created. This commit fixes (and hopefully, future proofs) this by telling Django that the core app migrations depend on the latest wagtailcore migration, which should make Django fully migrate wagtailcore before starting the core app.
This commit is contained in:
parent
1871a29f30
commit
13e8e73830
@ -7,7 +7,7 @@ from django.db import models, migrations
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('wagtailcore', '0002_initial_data'),
|
||||
('wagtailcore', '__latest__'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
|
Loading…
Reference in New Issue
Block a user