From 15a4713d3c4a3aeb55fc9256307a9dcff3222b5f Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Wed, 15 Dec 2021 21:15:33 +0100 Subject: [PATCH] Define DEFAULT_AUTO_FIELD in settings --- photo21/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/photo21/settings.py b/photo21/settings.py index 62eb8ec..f6c0917 100644 --- a/photo21/settings.py +++ b/photo21/settings.py @@ -157,6 +157,8 @@ USE_L10N = True USE_TZ = True +DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' + # Limit available languages to this subset LANGUAGES = [ ('de', _('German')),