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

Fixed #24603 -- Allowed Context.update() to be used as a context manager.

This commit is contained in:
Tommy Beadle
2015-04-13 10:57:44 -04:00
committed by Tim Graham
parent c612786cf1
commit 6bfd864ff2
4 changed files with 32 additions and 2 deletions

View File

@@ -211,6 +211,9 @@ Templates
* The :ttag:`firstof` template tag supports storing the output in a variable
using 'as'.
* :meth:`Context.update() <django.template.Context.update>` can now be used as
a context manager.
Requests and Responses
^^^^^^^^^^^^^^^^^^^^^^