Skip to content

Commit 5ff7ddc

Browse files
committed
Cosmetic change
- Legacy-Id: 7545
1 parent 28a3d68 commit 5ff7ddc

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

ietf/settings.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@
100100

101101
#DATABASE_ROUTERS = ["ietf.legacy_router.LegacyRouter"]
102102

103+
# ------------------------------------------------------------------------
104+
# Django/Python Logging Framework Modifications
105+
103106
# enable HTML error emails
104107
from django.utils.log import DEFAULT_LOGGING
105108
LOGGING = DEFAULT_LOGGING.copy()
@@ -120,6 +123,9 @@ def skip_suspicious_operations(record):
120123
}
121124
LOGGING['handlers']['mail_admins']['filters'] += [ 'skip_suspicious_operations' ]
122125

126+
# End logging
127+
# ------------------------------------------------------------------------
128+
123129
SESSION_COOKIE_AGE = 43200 # 12 hours
124130
SESSION_EXPIRE_AT_BROWSER_CLOSE = True
125131
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'

0 commit comments

Comments
 (0)