Browse Source

Update settings kvůli gimlimu

remotes/origin/master
Matěj Kocián 6 years ago
parent
commit
a213f83c5d
  1. 4
      mamweb/settings.py

4
mamweb/settings.py

@ -8,10 +8,10 @@ import os.path
# 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 *
elif os.path.abspath(__file__).startswith('/akce/MaM/WWW/mamweb-prod/'):
elif "mamweb-prod" in os.path.abspath(__file__):
from .settings_prod import *
else:

Loading…
Cancel
Save