Add config for DEFAULT_AUTO_FIELD in preparation for 3.2 upgrade
authorMagnus Hagander <magnus@hagander.net>
Sun, 7 Nov 2021 14:59:09 +0000 (15:59 +0100)
committerMagnus Hagander <magnus@hagander.net>
Thu, 18 Nov 2021 13:21:42 +0000 (14:21 +0100)
pgweb/settings.py

index 6c1cb24ed7678a9eae39c3739510472ed25b4dcb..4775f3231c1f7699c0e84cafd4d41b5b6d98bc87 100644 (file)
@@ -18,6 +18,8 @@ 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.