# HG changeset patch # User Brian Neal # Date 1334431317 18000 # Node ID 0236de10077ff4e8b5750796c98386cf1de4cbc6 # Parent 9b9daefba97ad9edf5294059353373309764eddd For Django 1.4, enable clickjacking protection middleware. diff -r 9b9daefba97a -r 0236de10077f madeira/settings/base.py --- a/madeira/settings/base.py Sat Apr 14 14:14:13 2012 -0500 +++ b/madeira/settings/base.py Sat Apr 14 14:21:57 2012 -0500 @@ -64,6 +64,7 @@ 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', + 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.doc.XViewMiddleware', 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware',