Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Disable X-Frame-Options: DENY to allow embedding SVG.

  • Loading branch information...
commit 0c8d5bd6a97b85432544fae4b28ff699539da85a 1 parent 3411115
Aymeric Augustin aaugustin authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 django_website/settings/www.py
4 django_website/settings/www.py
View
@@ -187,7 +187,9 @@
SESSION_COOKIE_SECURE = True
SESSION_COOKIE_HTTPONLY = True
SECURE_SSL_REDIRECT = False
- SECURE_FRAME_DENY = True
+ # This breaks SVG embedding in docs.
+ # TODO: switch to X_FRAME_OPTIONS = 'SAMEORIGIN' in Django 1.4
+ # SECURE_FRAME_DENY = True
SECURE_HSTS_SECONDS = 600
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTOCOL", "SSL")
Please sign in to comment.
Something went wrong with that request. Please try again.