Web M&M
https://mam.matfyz.cz
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
471 B
20 lines
471 B
import os.path
|
|
|
|
#
|
|
# "Chytre" rozliseni, zda je toto produkcni, testovaci ci
|
|
# jina/vyvojova/lokalni instance.
|
|
#
|
|
# Je mozne tez rozhodnout primo pomoci:
|
|
# DJANGO_SETTINGS_MODULE=mamweb.settings_ZZZ ./manage.py ...
|
|
#
|
|
|
|
if os.path.abspath(__file__).startswith('/akce/MaM/WWW/mamweb-test/'):
|
|
from .settings_test import *
|
|
|
|
elif os.path.abspath(__file__).startswith('/akce/MaM/WWW/mamweb-prod/'):
|
|
from .settings_prod import *
|
|
|
|
else:
|
|
from .settings_local import *
|
|
|
|
|
|
|