From 2e7cec33b210b5f6bf39a115b884d28d823bce04 Mon Sep 17 00:00:00 2001 From: Hironsan Date: Sun, 9 May 2021 17:29:43 +0900 Subject: [PATCH] Add DEFAULT_AUTO_FIELD to settings.py --- backend/app/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/app/settings.py b/backend/app/settings.py index 9c4d59f0..67f6ef76 100644 --- a/backend/app/settings.py +++ b/backend/app/settings.py @@ -364,3 +364,5 @@ except EnvError: CELERY_ACCEPT_CONTENT = ['application/json'] CELERY_TASK_SERIALIZER = 'json' CELERY_RESULT_SERIALIZER = 'json' + +DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'