non-teasing teaser (digital olympiad stub)
[edumed.git] / edumed / settings / middleware.py
1 # -*- coding: utf-8 -*-
2 from edumed.utils import process_app_deps
3
4 MIDDLEWARE_CLASSES = process_app_deps((
5     'django.middleware.cache.UpdateCacheMiddleware',
6     ('django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.sessions'),
7     # 'django.middleware.locale.LocaleMiddleware',
8     'subdomains.middleware.SubdomainURLRoutingMiddleware',
9     'fnpdjango.middleware.URLLocaleMiddleware',
10
11     'django.middleware.common.CommonMiddleware',
12     'django.middleware.csrf.CsrfViewMiddleware',
13     'honeypot.middleware.HoneypotMiddleware',
14     ('django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth'),
15     ('django_cas.middleware.CASMiddleware', 'django_cas'),
16     ('django.contrib.messages.middleware.MessageMiddleware', 'django.contrib.messages'),
17     # Uncomment the next line for simple clickjacking protection:
18     # 'django.middleware.clickjacking.XFrameOptionsMiddleware',
19     ('pagination.middleware.PaginationMiddleware', 'pagination'),
20     'django.middleware.cache.FetchFromCacheMiddleware',
21     'fnpdjango.middleware.SetRemoteAddrFromXRealIP',
22     'pybb.middleware.PybbMiddleware',
23     'forum.middleware.ForumMiddleware',
24     'wtem.middleware.ThreadLocalMiddleware'
25 ))