From 26d6fe48a206d75caf0afb7b0ba41da7e0a1d079 Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Sun, 7 Nov 2021 14:42:42 +0100 Subject: [PATCH] Add DEFAULT_AUTO_FIELD for Django 3.2 --- pgmailmgr/settings.py | 3 +++ 1 file changed, 3 insertions(+) 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. -- 2.39.5