2 'django.contrib.sessions.middleware.SessionMiddleware',
3 #'django.middleware.locale.LocaleMiddleware',
4 'fnpdjango.middleware.URLLocaleMiddleware',
6 'django.middleware.common.CommonMiddleware',
7 'django.middleware.csrf.CsrfViewMiddleware',
8 'prawokultury.middleware.ExemptableHoneypotViewMiddleware',
9 'honeypot.middleware.HoneypotResponseMiddleware',
10 'django.contrib.auth.middleware.AuthenticationMiddleware',
13 if 'django_cas' in INSTALLED_APPS:
14 MIDDLEWARE_CLASSES += (
15 'django_cas.middleware.CASMiddleware',
18 MIDDLEWARE_CLASSES += (
19 'django.contrib.messages.middleware.MessageMiddleware',
20 # Uncomment the next line for simple clickjacking protection:
21 # 'django.middleware.clickjacking.XFrameOptionsMiddleware',
22 'pagination.middleware.PaginationMiddleware',
23 'fnpdjango.middleware.SetRemoteAddrFromXRealIP',