Update settings kvůli gimlimu

This commit is contained in:
Matěj Kocián 2018-08-10 19:10:40 +02:00
parent ae31ce7c21
commit a213f83c5d

View file

@ -8,10 +8,10 @@ import os.path
# DJANGO_SETTINGS_MODULE=mamweb.settings_ZZZ ./manage.py ... # DJANGO_SETTINGS_MODULE=mamweb.settings_ZZZ ./manage.py ...
# #
if os.path.abspath(__file__).startswith('/akce/MaM/WWW/mamweb-test/'): if "mamweb-test" in os.path.abspath(__file__):
from .settings_test import * from .settings_test import *
elif os.path.abspath(__file__).startswith('/akce/MaM/WWW/mamweb-prod/'): elif "mamweb-prod" in os.path.abspath(__file__):
from .settings_prod import * from .settings_prod import *
else: else: