Add DEFAULT_AUTO_FIELD for Django 3.2
authorMagnus Hagander <[email protected]>
Sun, 7 Nov 2021 13:42:42 +0000 (14:42 +0100)
committerMagnus Hagander <[email protected]>
Sun, 7 Nov 2021 13:42:42 +0000 (14:42 +0100)
pgmailmgr/settings.py

index 90d34d0ad3fc702879b99c7af171b7ab16b7278d..d50055db1868ba310ade808f6f6610f2f8a3986e 100644 (file)
@@ -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.