From: Magnus Hagander Date: Sun, 7 Nov 2021 14:11:43 +0000 (+0100) Subject: Add DEFAULT_AUTO_FIELD for Django 3.2 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=bc2c748ce9cd1abfda672dbc75e6ef8b83fb920e;p=pgarchives.git Add DEFAULT_AUTO_FIELD for Django 3.2 --- diff --git a/django/archives/settings.py b/django/archives/settings.py index 906d91b..bb97bb8 100644 --- a/django/archives/settings.py +++ b/django/archives/settings.py @@ -20,6 +20,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.