From 71e393cfe65d4825885f73a2d8bf73721b86b635 Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Sun, 27 Jun 2021 15:03:19 +0200 Subject: [PATCH] silence django 3.2 warnings --- src/bornhack/settings.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bornhack/settings.py b/src/bornhack/settings.py index da1e8781..0730de07 100644 --- a/src/bornhack/settings.py +++ b/src/bornhack/settings.py @@ -201,3 +201,6 @@ DATA_UPLOAD_MAX_NUMBER_FIELDS = 5000 # use captcha form 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'