summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Hagander2021-11-07 13:42:42 +0000
committerMagnus Hagander2021-11-07 13:42:42 +0000
commit26d6fe48a206d75caf0afb7b0ba41da7e0a1d079 (patch)
tree0ab37ae09ff639e4d09d3bd077a7d8cefc0cd22e
parent977ac7b20aca56d9f5580cb8e80dfd0a851e8127 (diff)
Add DEFAULT_AUTO_FIELD for Django 3.2
-rw-r--r--pgmailmgr/settings.py3
1 files changed, 3 insertions, 0 deletions
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.