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.

21 lines
423 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 "mamweb-test" in os.path.abspath(__file__):
from .settings_test import *
elif "mamweb-prod" in os.path.abspath(__file__):
from .settings_prod import *
else:
from .settings_local import *