|
|
@ -2,7 +2,7 @@ |
|
|
|
import os.path |
|
|
|
|
|
|
|
# |
|
|
|
# Testovaci nastaveni settings.py (testovani na atreyi) |
|
|
|
# Testovaci nastaveni settings.py (testovani na mam-test.ks.marfyz.cz) |
|
|
|
# |
|
|
|
# Pro vyber tohoto nastaveni muzete pouzit tez: |
|
|
|
# DJANGO_SETTINGS_MODULE=mamweb.settings_test ./manage.py ... |
|
|
@ -31,7 +31,7 @@ DEBUG = True |
|
|
|
|
|
|
|
TEMPLATES[0]['OPTIONS']['debug'] = True |
|
|
|
|
|
|
|
ALLOWED_HOSTS = ['*.mam.mff.cuni.cz', 'atrey.karlin.mff.cuni.cz', 'mam.mff.cuni.cz', 'mam-test.kam.mff.cuni.cz', 'gimli.ms.mff.cuni.cz', 'mam-test.ks.matfyz.cz'] |
|
|
|
ALLOWED_HOSTS = ['mam-test.kam.mff.cuni.cz', 'gimli.ms.mff.cuni.cz', 'mam-test.ks.matfyz.cz'] |
|
|
|
|
|
|
|
# Database |
|
|
|
# https://docs.djangoproject.com/en/1.7/ref/settings/#databases |
|
|
|