Fix setting

This commit is contained in:
cuom1999 2023-08-30 18:48:04 -05:00
parent abbe5f15e1
commit b03836715f

View file

@ -477,16 +477,16 @@ ML_OUTPUT_PATH = None
# Use subdomain for organizations # Use subdomain for organizations
USE_SUBDOMAIN = False USE_SUBDOMAIN = False
try:
with open(os.path.join(os.path.dirname(__file__), "local_settings.py")) as f:
exec(f.read(), globals())
except IOError:
pass
DEFAULT_AUTO_FIELD = "django.db.models.AutoField"
# Chat # Chat
CHAT_SECRET_KEY = "QUdVFsxk6f5-Hd8g9BXv81xMqvIZFRqMl-KbRzztW-U=" CHAT_SECRET_KEY = "QUdVFsxk6f5-Hd8g9BXv81xMqvIZFRqMl-KbRzztW-U="
# Nginx # Nginx
META_REMOTE_ADDRESS_KEY = "REMOTE_ADDR" META_REMOTE_ADDRESS_KEY = "REMOTE_ADDR"
DEFAULT_AUTO_FIELD = "django.db.models.AutoField"
try:
with open(os.path.join(os.path.dirname(__file__), "local_settings.py")) as f:
exec(f.read(), globals())
except IOError:
pass