diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-12-14 18:29:15 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-12-28 17:02:29 +0100 |
| commit | e53495ba3352c2c0fdb6178f2b333c30cb6b5d46 (patch) | |
| tree | d2ff8c1eb9d616d86fbad2be97fc9e042b3761e3 /django/shortcuts.py | |
| parent | fdbfc98003f0ba2d3a12def63a75560791f3602d (diff) | |
Preserved context class in inclusion_tag.
Previously, when a template was rendered with RequestContext, inclusion
tags were rendered with a plain context, losing additional information
available in the RequestContext.
The (admittedly bizarre) implementation of RequestContext.new() has the
side-effect of not running template context processors, making this
change backwards-compatible.
Diffstat (limited to 'django/shortcuts.py')
0 files changed, 0 insertions, 0 deletions
