diff --git a/iogt/settings/base.py b/iogt/settings/base.py index c36fae01b..babdf7a99 100644 --- a/iogt/settings/base.py +++ b/iogt/settings/base.py @@ -570,5 +570,6 @@ # Default primary key field type introduced in Django 3.2 or later versions # https://docs.djangoproject.com/en/3.2/ref/settings/#default-auto-field - DEFAULT_AUTO_FIELD = 'django.db.models.AutoField' + +WAGTAILREDIRECTS_AUTO_CREATE = os.getenv('WAGTAILREDIRECTS_AUTO_CREATE', 'enable') == 'enable'