diff --git a/mamweb/settings_prod.py b/mamweb/settings_prod.py index 80b328d0..c9bc95f0 100644 --- a/mamweb/settings_prod.py +++ b/mamweb/settings_prod.py @@ -26,8 +26,7 @@ DEBUG = False TEMPLATE_DEBUG = False -ALLOWED_HOSTS = ['mam.mff.cuni.cz', 'www.mam.mff.cuni.cz', 'atrey.karlin.mff.cuni.cz', - 'mamweb.bezva.org','gimli.ms.mff.cuni.cz'] +ALLOWED_HOSTS = ['mam.mff.cuni.cz', 'www.mam.mff.cuni.cz', 'gimli.ms.mff.cuni.cz'] # Database # https://docs.djangoproject.com/en/1.7/ref/settings/#databases diff --git a/mamweb/settings_test.py b/mamweb/settings_test.py index eb101799..ad5988b4 100644 --- a/mamweb/settings_test.py +++ b/mamweb/settings_test.py @@ -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