|
|
@ -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: |
|
|
|