Skip to content
This repository has been archived by the owner on Jan 8, 2019. It is now read-only.

Commit

Permalink
Add a commented line that disables secure cookies.
Browse files Browse the repository at this point in the history
Most local development installs don't use HTTPS, which means they
need to disable secure cookies in order to use cookies at all

I decided to use a commented line as opposed to disabling them by
default out of fear that they would end up disabled by accident on
the server.
  • Loading branch information
Michael Kelly committed Jun 13, 2012
1 parent f43b817 commit 55cbe30
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions project/settings/local.py-dist
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -77,3 +77,7 @@ SECRET_KEY = ''
# Common Event Format logging parameters # Common Event Format logging parameters
#CEF_PRODUCT = 'Playdoh' #CEF_PRODUCT = 'Playdoh'
#CEF_VENDOR = 'Mozilla' #CEF_VENDOR = 'Mozilla'

# Uncomment this line if you are running a local development install without
# HTTPS to disable HTTPS-only cookies.
#SESSION_COOKIE_SECURE = False

0 comments on commit 55cbe30

Please sign in to comment.