diff 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
line wrap: on
line diff
--- a/gpp/settings/base.py	Thu May 03 20:45:16 2012 -0500
+++ b/gpp/settings/base.py	Sat May 05 14:06:16 2012 -0500
@@ -74,6 +74,7 @@
     'django.contrib.sessions.middleware.SessionMiddleware',
     'django.contrib.messages.middleware.MessageMiddleware',
     'django.contrib.auth.middleware.AuthenticationMiddleware',
+    'django.middleware.clickjacking.XFrameOptionsMiddleware',
     'gpp.core.middleware.InactiveUserMiddleware',
     'gpp.core.middleware.WhosOnline',
     'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware',