From c5c0f4258bc97625a2eb408f35225f76ca596a14 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Sat, 12 Mar 2022 15:03:01 +1100 Subject: [PATCH] Set DEFAULT_AUTO_FIELD to AutoField --- lemoncurry/settings/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lemoncurry/settings/base.py b/lemoncurry/settings/base.py index a25305e..cd3ea1a 100644 --- a/lemoncurry/settings/base.py +++ b/lemoncurry/settings/base.py @@ -178,6 +178,7 @@ DATABASES = { } } +DEFAULT_AUTO_FIELD = 'django.db.models.AutoField' AUTH_USER_MODEL = 'users.User'