Fix setting
This commit is contained in:
parent
abbe5f15e1
commit
b03836715f
1 changed files with 8 additions and 8 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue