From bc2c748ce9cd1abfda672dbc75e6ef8b83fb920e Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Sun, 7 Nov 2021 15:11:43 +0100 Subject: [PATCH] Add DEFAULT_AUTO_FIELD for Django 3.2 --- django/archives/settings.py | 2 ++ 1 file changed, 2 insertions(+) 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. -- 2.39.5