Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Upgrade django-secure. Enable additional security measures.

  • Loading branch information...
commit 761c5f3b7f43dd2eb56747f77f34fc48c45f7173 1 parent e0ef4f5
Aymeric Augustin authored February 08, 2013
2  deploy-requirements.txt
@@ -7,7 +7,7 @@ django-haystack == 1.1.0
7 7
 django-push == 0.4
8 8
 # django-registration doesn't have a release compatible with Django 1.5 yet
9 9
 -e hg+https://bitbucket.org/jscott1971/django-registration@b963cb9#egg=django-registration
10  
-django-secure == 0.1.0
  10
+django-secure == 0.1.2
11 11
 docutils >= 0.6, < 0.7
12 12
 feedparser==5.1.1
13 13
 Jinja2 >= 2.4, < 2.5
4  django_www/common_settings.py
@@ -139,4 +139,8 @@
139 139
 
140 140
 ### django-secure settings
141 141
 
  142
+SECURE_BROWSER_XSS_FILTER = True
  143
+
  144
+SECURE_CONTENT_TYPE_NOSNIFF = True
  145
+
142 146
 SECURE_HSTS_SECONDS = 600

0 notes on commit 761c5f3

Please sign in to comment.
Something went wrong with that request. Please try again.