Add DEFAULT_AUTO_FIELD for Django 3.2
authorMagnus Hagander <magnus@hagander.net>
Sun, 7 Nov 2021 14:11:43 +0000 (15:11 +0100)
committerMagnus Hagander <magnus@hagander.net>
Sun, 7 Nov 2021 14:11:43 +0000 (15:11 +0100)
django/archives/settings.py

index 906d91b8be5379e3164e2670c543f518239ce614..bb97bb89b45d7380877596bf89b2c14721b19038 100644 (file)
@@ -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.