Browse Source

Fix settings detection

remotes/origin/noc
Tomas Gavenciak 9 years ago
parent
commit
9d7cf1b64b
  1. 2
      mamweb/settings.py

2
mamweb/settings.py

@ -11,7 +11,7 @@ import os.path
if os.path.abspath(__file__).startswith('/akce/MaM/WWW/mamweb-test/'): if os.path.abspath(__file__).startswith('/akce/MaM/WWW/mamweb-test/'):
from .settings_test import * from .settings_test import *
elif os.path.abspath(__file__).startswith('/akce/MaM/WWW/mamweb/'): elif os.path.abspath(__file__).startswith('/akce/MaM/WWW/mamweb-prod/'):
from .settings_prod import * from .settings_prod import *
else: else:

Loading…
Cancel
Save