add middleware for aircox used for timezone and current station selection in admin; add page summary for today's diffusions menu in link title

This commit is contained in:
bkfox
2017-05-15 16:42:30 +02:00
parent 1d02aea773
commit 8cc3caa16b
5 changed files with 143 additions and 32 deletions

View File

@ -82,7 +82,7 @@ else:
}
# allowed hosts
ALLOWED_HOSTS = ['127.0.0.1:8000']
ALLOWED_HOSTS = ('127.0.0.1',)
# secret key: you MUST put a consistent secret key
SECRET_KEY = ''
@ -145,7 +145,7 @@ INSTALLED_APPS = (
'django.contrib.admin',
)
MIDDLEWARE_CLASSES = (
MIDDLEWARE = (
'django.middleware.gzip.GZipMiddleware',
'htmlmin.middleware.HtmlMinifyMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',