changeset 1010:9afe0610aae5

Move SSL related settings to production module.
author Brian Neal <bgneal@gmail.com>
date Fri, 27 Nov 2015 15:44:06 -0600
parents 3262dd0246d4
children 164a39d985ef
files sg101/settings/base.py sg101/settings/production.py
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/sg101/settings/base.py	Fri Nov 27 15:02:27 2015 -0600
+++ b/sg101/settings/base.py	Fri Nov 27 15:44:06 2015 -0600
@@ -367,9 +367,5 @@
     ],
 }
 
-# SSL related settings
-SESSION_COOKIE_SECURE = True
-CSRF_COOKIE_SECURE = True
-
 # Turn off warning about test runner behavior change
 SILENCED_SYSTEM_CHECKS = ['1_6.W001']
--- a/sg101/settings/production.py	Fri Nov 27 15:02:27 2015 -0600
+++ b/sg101/settings/production.py	Fri Nov 27 15:44:06 2015 -0600
@@ -51,6 +51,10 @@
 
 DONATIONS_DEBUG = False
 
+# SSL related settings
+SESSION_COOKIE_SECURE = True
+CSRF_COOKIE_SECURE = True
+
 # Logging configuration
 
 LOGGING = {