from .base import *

DEBUG = False

del TEMPLATES[0]['APP_DIRS']
TEMPLATES[0]['OPTIONS']['loaders'] = [
    ('django.template.loaders.cached.Loader', [
        'django.template.loaders.filesystem.Loader',
        'django.template.loaders.app_directories.Loader',
    ])]

ALLOWED_HOSTS = ["www.scorephorum.cz", "beta.scorephorum.cz"]

SERVER_EMAIL = "noreply@scorephorum.cz"

ADMINS = (
    ("Jan Cermak", "sairon@sairon.cz"),
)

STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage'

from .base import *

DEBUG = False

del TEMPLATES[0]['APP_DIRS']
TEMPLATES[0]['OPTIONS']['loaders'] = [
    ('django.template.loaders.cached.Loader', [
        'django.template.loaders.filesystem.Loader',
        'django.template.loaders.app_directories.Loader',
    ])]

ALLOWED_HOSTS = ["scorephorum.cz", "www.scorephorum.cz", "beta.scorephorum.cz"]

SERVER_EMAIL = "noreply@scorephorum.cz"

ADMINS = (
    ("Jan Cermak", "sairon@sairon.cz"),
)

STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage'

add canonical scorephorum.cz to allowed hosts