Na některých serverech už produkce nepoběží… A testweb rozhodně nesmí běhat na místě produkce.
This commit is contained in:
parent
ff04978a95
commit
5cccd40800
2 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue