From 5cccd408008860d1d5e144931ccabd67f7e00c76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=C3=A1=C5=A1=20Havelka?= Date: Thu, 10 Aug 2023 23:30:48 +0200 Subject: [PATCH] =?UTF-8?q?Na=20n=C4=9Bkter=C3=BDch=20serverech=20u=C5=BE?= =?UTF-8?q?=20produkce=20nepob=C4=9B=C5=BE=C3=AD=E2=80=A6=20A=20testweb=20?= =?UTF-8?q?rozhodn=C4=9B=20nesm=C3=AD=20b=C4=9Bhat=20na=20m=C3=ADst=C4=9B?= =?UTF-8?q?=20produkce.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mamweb/settings_prod.py | 3 +-- mamweb/settings_test.py | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) 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