1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #22327 -- Turned BaseEmailBackend into a context manager

Changed the BaseEmailBackend to allow usage as context manager to open
and close connections.
This commit is contained in:
Daniel Neuhäuser
2014-03-23 17:29:10 +01:00
committed by Tim Graham
parent d902fd625d
commit 4aa80149e7
4 changed files with 52 additions and 1 deletions

View File

@@ -91,7 +91,8 @@ Cache
Email
^^^^^
* ...
* :ref:`Email backends <topic-email-backends>` now support the context manager
protocol for opening and closing connections.
File Storage
^^^^^^^^^^^^