From: Magnus Hagander Date: Sun, 7 Nov 2021 13:42:42 +0000 (+0100) Subject: Add DEFAULT_AUTO_FIELD for Django 3.2 X-Git-Url: http://waps.l3s.uni-hannover.de/gitweb/%20?a=commitdiff_plain;h=26d6fe48a206d75caf0afb7b0ba41da7e0a1d079;p=pgmailmgr.git Add DEFAULT_AUTO_FIELD for Django 3.2 --- diff --git a/pgmailmgr/settings.py b/pgmailmgr/settings.py index 90d34d0..d50055d 100644 --- a/pgmailmgr/settings.py +++ b/pgmailmgr/settings.py @@ -23,6 +23,9 @@ DATABASES = { } } +DEFAULT_AUTO_FIELD = 'django.db.models.AutoField' + + # Local time zone for this installation. Choices can be found here: # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name # although not all choices may be available on all operating systems.