Mercurial > public > madeira
changeset 67:0236de10077f
For Django 1.4, enable clickjacking protection middleware.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 14 Apr 2012 14:21:57 -0500 |
parents | 9b9daefba97a |
children | 0f8ad2d97cda |
files | madeira/settings/base.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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',