summaryrefslogtreecommitdiff
path: root/postgresqleu/settings.py
diff options
context:
space:
mode:
authorMagnus Hagander2021-12-19 16:44:50 +0000
committerMagnus Hagander2021-12-19 16:44:50 +0000
commit743b5479e5660984833027b42e40167eec215ea3 (patch)
tree154f02f38a57cdabdfe98d0e4c3193e3e417d850 /postgresqleu/settings.py
parentb0feb6ffce96fbd7f29004c7e0c1928dbb3e52cf (diff)
Set DEFAULT_AUTO_FIELD in preparation for Django 3.2
Diffstat (limited to 'postgresqleu/settings.py')
-rw-r--r--postgresqleu/settings.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/postgresqleu/settings.py b/postgresqleu/settings.py
index c92c7180..02c567a4 100644
--- a/postgresqleu/settings.py
+++ b/postgresqleu/settings.py
@@ -29,6 +29,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.