From 6fc5e9d2498cca7c6de914332ebfaef4611b2957 Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Sat, 24 Apr 2021 00:31:12 +0300 Subject: [PATCH] fix --- config/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/config/settings.py b/config/settings.py index 564aa38..8573f80 100644 --- a/config/settings.py +++ b/config/settings.py @@ -70,6 +70,7 @@ TEMPLATES = [ ] WSGI_APPLICATION = 'config.wsgi.application' +DEFAULT_AUTO_FIELD = 'django.db.models.AutoField' DATABASES = { 'default': env.db('DATABASE_URL', default='sqlite:///db.sqlite3'),