fix: secret key

This commit is contained in:
Markos Gogoulos
2026-05-11 13:08:34 +03:00
parent 35de017562
commit 559977f9bc
3 changed files with 9 additions and 4 deletions
+3 -1
View File
@@ -1,8 +1,10 @@
import os
from django.core.management.utils import get_random_secret_key
FRONTEND_HOST = os.getenv('FRONTEND_HOST', 'http://localhost')
PORTAL_NAME = os.getenv('PORTAL_NAME', 'MediaCMS')
SECRET_KEY = os.getenv('SECRET_KEY', 'ma!s3^b-cw!f#7s6s0m3*jx77a@riw(7701**(r=ww%w!2+yk2')
SECRET_KEY = os.getenv('SECRET_KEY') or get_random_secret_key()
REDIS_LOCATION = os.getenv('REDIS_LOCATION', 'redis://redis:6379/1')
DATABASES = {