comparison gpp/settings/base.py @ 575:acfa5162d72f

For Django 1.4, add clickjacking protection via new middleware.
author Brian Neal <bgneal@gmail.com>
date Sat, 05 May 2012 14:06:16 -0500
parents 0a0a069ab645
children
comparison
equal deleted inserted replaced
574:ddd69a8e07c7 575:acfa5162d72f
72 'django.middleware.common.CommonMiddleware', 72 'django.middleware.common.CommonMiddleware',
73 'django.middleware.csrf.CsrfViewMiddleware', 73 'django.middleware.csrf.CsrfViewMiddleware',
74 'django.contrib.sessions.middleware.SessionMiddleware', 74 'django.contrib.sessions.middleware.SessionMiddleware',
75 'django.contrib.messages.middleware.MessageMiddleware', 75 'django.contrib.messages.middleware.MessageMiddleware',
76 'django.contrib.auth.middleware.AuthenticationMiddleware', 76 'django.contrib.auth.middleware.AuthenticationMiddleware',
77 'django.middleware.clickjacking.XFrameOptionsMiddleware',
77 'gpp.core.middleware.InactiveUserMiddleware', 78 'gpp.core.middleware.InactiveUserMiddleware',
78 'gpp.core.middleware.WhosOnline', 79 'gpp.core.middleware.WhosOnline',
79 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware', 80 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware',
80 ] 81 ]
81 82