summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorShivang Bharadwaj <reficul31@gmail.com>2016-12-29 02:33:20 +0530
committerTim Graham <timograham@gmail.com>2016-12-28 16:03:20 -0500
commit6a7495051304d75865add6ff96422018984e1663 (patch)
treeb0e74ccd6fea585afb7d15f2735dc3a80d10004d /docs
parent4e89082f31689d05a1b3aeaabd325f1b2cdcda5b (diff)
Fixed #27258 -- Prohibited django.Template.render() with non-dict context.
Thanks Shivang Bharadwaj for the initial patch.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/1.11.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/releases/1.11.txt b/docs/releases/1.11.txt
index f894c261f9..0bf77e6e2d 100644
--- a/docs/releases/1.11.txt
+++ b/docs/releases/1.11.txt
@@ -575,6 +575,15 @@ Some undocumented classes in ``django.forms.widgets`` are removed:
The ``Widget.format_output()`` method is removed. Use a custom widget template
instead.
+``django.Template.render()`` prohibits non-dict context
+-------------------------------------------------------
+
+For compatibility with multiple template engines, ``django.Template.render()``
+must receive a dictionary of context rather than ``Context`` or
+``RequestContext``. If you were passing either of the two classes, pass a
+dictionary instead -- doing so is backwards-compatible with older versions of
+Django.
+
Miscellaneous
-------------