From e40ed316190d8486d0b30173e38d4030c6295cbf Mon Sep 17 00:00:00 2001 From: paov Date: Mon, 17 Oct 2022 11:43:35 +0300 Subject: [PATCH] 12 --- sync.py | 3 ++- tea/settings.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/sync.py b/sync.py index d068ff5..16a74a5 100644 --- a/sync.py +++ b/sync.py @@ -25,7 +25,8 @@ settings.configure( 'django.contrib.messages', 'django.contrib.staticfiles', 'choose' - ] + ], + SECRET_KEY = env.str('SECRET_KEY', '!!! SET YOUR SECRET_KEY !!!') ) django.setup() diff --git a/tea/settings.py b/tea/settings.py index 98a94c6..9a94687 100644 --- a/tea/settings.py +++ b/tea/settings.py @@ -1,4 +1,5 @@ import os +from pathlib import Path import environ from django.urls import reverse_lazy