From 32cb2abca23dd449bd7b9da57d0125fbac3be37b Mon Sep 17 00:00:00 2001 From: Oleg Lavrovsky Date: Fri, 11 Dec 2020 11:41:26 +0100 Subject: [PATCH] 2.11 run_before fix --- publichealth/home/migrations/0002_create_homepage.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/publichealth/home/migrations/0002_create_homepage.py b/publichealth/home/migrations/0002_create_homepage.py index 353fc93..1104200 100644 --- a/publichealth/home/migrations/0002_create_homepage.py +++ b/publichealth/home/migrations/0002_create_homepage.py @@ -36,6 +36,10 @@ def create_homepage(apps, schema_editor): class Migration(migrations.Migration): + run_before = [ + ('wagtailcore', '0053_locale_model'), # added for Wagtail 2.11 compatibility + ] + dependencies = [ ('home', '0001_initial'), ]