datatracker/ietf/utils
Bill Fenner cae902a373 Add two middleware classes:
- SQLLogMiddleware.  This logs any INSERT or UPDATE performed by
a request.

- SMTPExceptionMiddleware.  This renders a "please try again"
(template email_failed.html) message when an attempt to send
email failed.  This uses a bit of a hack, in that the middleware
looks explicitly for smtplib.SMTPException, and smtplib can
raise other exceptions (particularly socket errors).  utils/mail/send_smtp
catches all exceptions and reraises non-smtplib exceptions as
fake smtplib exceptions, and the middleware undoes the wrapping.
 - Legacy-Id: 224
2007-06-04 13:52:34 +00:00
..
.gitignore * Moved utility functions into utils/ directory, and started breaking out 2007-05-11 15:48:45 +00:00
__init__.py Minor cleanup based on pyflakes feedback 2007-05-31 09:44:12 +00:00
cache_foreign_key.py Separating out utility functions into their own files. 2007-05-28 09:17:30 +00:00
listop.py * Moved utility functions into utils/ directory, and started breaking out 2007-05-11 15:48:45 +00:00
log.py Use the "standard" django way to get at the settings. 2007-05-24 17:36:25 +00:00
mail.py Add two middleware classes: 2007-06-04 13:52:34 +00:00
templated_form.py Separating out utility functions into their own files. 2007-05-28 09:17:30 +00:00