silence django 3.2 warnings

This commit is contained in:
Thomas Steen Rasmussen 2021-06-27 15:03:19 +02:00
parent 3f17132cc3
commit 71e393cfe6

View file

@ -201,3 +201,6 @@ DATA_UPLOAD_MAX_NUMBER_FIELDS = 5000
# use captcha form # use captcha form
ACCOUNT_SIGNUP_FORM_CLASS = "bornhack.forms.AllAuthSignupCaptchaForm" ACCOUNT_SIGNUP_FORM_CLASS = "bornhack.forms.AllAuthSignupCaptchaForm"
# django 3.2 https://docs.djangoproject.com/en/3.2/releases/3.2/#customizing-type-of-auto-created-primary-keys
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'