Cosmetic change

- Legacy-Id: 7545
This commit is contained in:
Henrik Levkowetz 2014-03-26 14:25:39 +00:00
parent 28a3d68c6f
commit 5ff7ddcc5a

View file

@ -100,6 +100,9 @@ AUTHENTICATION_BACKENDS = ( 'django.contrib.auth.backends.RemoteUserBackend', )
#DATABASE_ROUTERS = ["ietf.legacy_router.LegacyRouter"]
# ------------------------------------------------------------------------
# Django/Python Logging Framework Modifications
# enable HTML error emails
from django.utils.log import DEFAULT_LOGGING
LOGGING = DEFAULT_LOGGING.copy()
@ -120,6 +123,9 @@ LOGGING['filters']['skip_suspicious_operations'] = {
}
LOGGING['handlers']['mail_admins']['filters'] += [ 'skip_suspicious_operations' ]
# End logging
# ------------------------------------------------------------------------
SESSION_COOKIE_AGE = 43200 # 12 hours
SESSION_EXPIRE_AT_BROWSER_CLOSE = True
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'