Instance name in title tag

This commit is contained in:
Raphael Michel
2014-09-11 20:47:34 +02:00
parent 8fa80b62bc
commit 2648fd5268
3 changed files with 24 additions and 2 deletions

View File

@@ -55,6 +55,18 @@ MIDDLEWARE_CLASSES = (
'tixlcontrol.middleware.LoginRequiredMiddleware',
)
TEMPLATE_CONTEXT_PROCESSORS = (
"django.contrib.auth.context_processors.auth",
"django.core.context_processors.debug",
"django.core.context_processors.i18n",
"django.core.context_processors.media",
"django.core.context_processors.request",
"django.core.context_processors.static",
"django.core.context_processors.tz",
"django.contrib.messages.context_processors.messages",
'tixlcontrol.context.contextprocessor',
)
ROOT_URLCONF = 'tixl.urls'
WSGI_APPLICATION = 'tixl.wsgi.application'
@@ -114,7 +126,7 @@ STATICFILES_FINDERS = (
)
COMPRESS_PRECOMPILERS = (
('text/less', 'lessc {infile} {outfile}'),
('text/less', 'helpers.lessabsolutefilter.LessFilter'),
)
COMPRESS_CSS_FILTERS = (
@@ -122,6 +134,10 @@ COMPRESS_CSS_FILTERS = (
'compressor.filters.cssmin.CSSMinFilter',
)
# Tixl specific settings
TIXL_INSTANCE_NAME = 'tixl.de'
try:
from local_settings import *