'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
- 'honeypot.middleware.HoneypotMiddleware',
+ 'prawokultury.middleware.ExemptableHoneypotViewMiddleware',
+ 'honeypot.middleware.HoneypotResponseMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
-)
-
-if 'django_cas' in INSTALLED_APPS:
- MIDDLEWARE_CLASSES += (
- 'django_cas.middleware.CASMiddleware',
- )
-
-MIDDLEWARE_CLASSES += (
+ 'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
+ 'django_cas_ng.middleware.CASMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
- 'piwik.django.middleware.PiwikMiddleware',
# Uncomment the next line for simple clickjacking protection:
# 'django.middleware.clickjacking.XFrameOptionsMiddleware',
- 'pagination.middleware.PaginationMiddleware',
+ 'fnp_django_pagination.middleware.PaginationMiddleware',
'fnpdjango.middleware.SetRemoteAddrFromXRealIP',
)