3 'django.contrib.sessions.middleware.SessionMiddleware',
4 #'django.middleware.locale.LocaleMiddleware',
5 'fnpdjango.middleware.URLLocaleMiddleware',
7 'django.middleware.common.CommonMiddleware',
8 'django.middleware.csrf.CsrfViewMiddleware',
9 'django.contrib.auth.middleware.AuthenticationMiddleware',
10 'django_cas_ng.middleware.CASMiddleware', # Remove if not using CAS.
11 'django.contrib.messages.middleware.MessageMiddleware',
12 # Uncomment the next line for simple clickjacking protection:
13 # 'django.middleware.clickjacking.XFrameOptionsMiddleware',
14 'fnpdjango.middleware.SetRemoteAddrFromXRealIP'