From 116582ccd39dae39d4c5dc0a34acbdb3b6984f5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sih=20S=C3=AEng-h=C3=B4ng=E8=96=9B=E4=B8=9E=E5=AE=8F?= Date: Wed, 9 Jun 2021 16:48:09 +0800 Subject: [PATCH] DEFAULT_AUTO_FIELD for django 3.2 For #407 --- wagtail_localize/apps.py | 1 + 1 file changed, 1 insertion(+) diff --git a/wagtail_localize/apps.py b/wagtail_localize/apps.py index 02ca774b..9fd08d99 100644 --- a/wagtail_localize/apps.py +++ b/wagtail_localize/apps.py @@ -5,6 +5,7 @@ class WagtailLocalizeAppConfig(AppConfig): name = 'wagtail_localize' label = 'wagtail_localize' verbose_name = "Wagtail localize" + default_auto_field = 'django.db.models.AutoField' def ready(self): from .models import register_post_delete_signal_handlers