Force DEBUG=False in settings.py
authorMagnus Hagander <magnus@hagander.net>
Mon, 21 Dec 2015 10:53:53 +0000 (11:53 +0100)
committerMagnus 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

index d90d342ccd5b880524a86357f67ba9d175bd238f..49e442119c8ba4db273dd2d7805406734821944e 100644 (file)
@@ -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 *