diff options
author | Magnus Hagander | 2021-12-19 16:44:50 +0000 |
---|---|---|
committer | Magnus Hagander | 2021-12-19 16:44:50 +0000 |
commit | 743b5479e5660984833027b42e40167eec215ea3 (patch) | |
tree | 154f02f38a57cdabdfe98d0e4c3193e3e417d850 /postgresqleu/settings.py | |
parent | b0feb6ffce96fbd7f29004c7e0c1928dbb3e52cf (diff) |
Set DEFAULT_AUTO_FIELD in preparation for Django 3.2
Diffstat (limited to 'postgresqleu/settings.py')
-rw-r--r-- | postgresqleu/settings.py | 2 |
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. |