Merge "mailman: set web auto field size to "AutoField""

This commit is contained in:
Zuul 2023-02-14 19:45:22 +00:00 committed by Gerrit Code Review
commit 00ea4c5ccf

@ -18,4 +18,8 @@ MAILMAN_WEB_SOCIAL_AUTH = []
FILTER_VHOST = True
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
# See
# https://docs.djangoproject.com/en/3.2/releases/3.2/#customizing-type-of-auto-created-primary-keys
# We set this to AutoField to avoid unwanted migrations as we've
# already created the models with the smaller field size.
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'