# HG changeset patch # User Brian Neal # Date 1448660646 21600 # Node ID 9afe0610aae52704d1d76dafc183b3ef087f9960 # Parent 3262dd0246d4623cecab1c3b3353fe9eeddd0557 Move SSL related settings to production module. diff -r 3262dd0246d4 -r 9afe0610aae5 sg101/settings/base.py --- 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'] diff -r 3262dd0246d4 -r 9afe0610aae5 sg101/settings/production.py --- 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 = {