projects
/
pgmailmgr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ae4848
)
Force DEBUG=False in settings.py
author
Magnus Hagander
<magnus@hagander.net>
Mon, 21 Dec 2015 10:53:53 +0000
(11:53 +0100)
committer
Magnus Hagander
<magnus@hagander.net>
Mon, 21 Dec 2015 10:53:53 +0000
(11:53 +0100)
This is normally overriden in the local settings to be off in prod
and on in testing, but it's always good to be explicit.
pgmailmgr/settings.py
patch
|
blob
|
blame
|
history
diff --git
a/pgmailmgr/settings.py
b/pgmailmgr/settings.py
index d90d342ccd5b880524a86357f67ba9d175bd238f..49e442119c8ba4db273dd2d7805406734821944e 100644
(file)
--- a/
pgmailmgr/settings.py
+++ b/
pgmailmgr/settings.py
@@
-157,6
+157,7
@@
AUTHENTICATION_BACKENDS = (
'pgmailmgr.auth.AuthBackend',
)
+DEBUG=False
SESSION_COOKIE_SECURE= True
SESSION_COOKIE_DOMAIN="webmail.postgresql.org"
from settings_local import *