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:
committed by
Tim Graham
parent
d902fd625d
commit
4aa80149e7
@@ -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
|
||||
^^^^^^^^^^^^
|
||||
|
||||
Reference in New Issue
Block a user