From f2879775ef65b4ade22b315c2e30ada02e421ac1 Mon Sep 17 00:00:00 2001 From: "R. Miles McCain" Date: Sat, 31 Jul 2021 23:49:01 +0000 Subject: [PATCH] Set default auto field --- shynet/shynet/settings.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/shynet/shynet/settings.py b/shynet/shynet/settings.py index 6d1f418..709ee75 100644 --- a/shynet/shynet/settings.py +++ b/shynet/shynet/settings.py @@ -298,6 +298,9 @@ else: EMAIL_USE_SSL = os.environ.get("EMAIL_USE_SSL") EMAIL_USE_TLS = os.environ.get("EMAIL_USE_TLS") +# Auto fields +DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' + # NPM NPM_ROOT_PATH = "../"