diff --git a/django/template/context.py b/django/template/context.py
index bcfaa3b..91e0ae7 100644
a
|
b
|
class Context(BaseContext):
|
104 | 104 | Returns a new Context with the same 'autoescape' value etc, but with |
105 | 105 | only the values given in 'values' stored. |
106 | 106 | """ |
107 | | return self.__class__(dict_=values, autoescape=self.autoescape, |
| 107 | return Context(dict_=values, autoescape=self.autoescape, |
108 | 108 | current_app=self.current_app, use_l10n=self.use_l10n) |
109 | 109 | |
110 | 110 | class RenderContext(BaseContext): |
… |
… |
class RequestContext(Context):
|
167 | 167 | Additional processors can be specified as a list of callables |
168 | 168 | using the "processors" keyword argument. |
169 | 169 | """ |
170 | | def __init__(self, request, dict=None, processors=None, current_app=None, use_l10n=None): |
171 | | Context.__init__(self, dict, current_app=current_app, use_l10n=use_l10n) |
| 170 | def __init__(self, request, dict=None, processors=None, autoescape=True, |
| 171 | current_app=None, use_l10n=None): |
| 172 | Context.__init__(self, dict, autoescape=autoescape, current_app=current_app, use_l10n=use_l10n) |
172 | 173 | if processors is None: |
173 | 174 | processors = () |
174 | 175 | else: |
diff --git a/tests/regressiontests/templates/templates/response.html b/tests/regressiontests/templates/templates/response.html
index 7535fa7..6706328 100644
a
|
b
|
|
1 | 1 | {% load url from future %}This is where you can find the snark: {% url "snark" %} |
2 | | {% now "U.u" %} |
3 | | No newline at end of file |
| 2 | {% now "U.u" %} |
| 3 | {% include "inclusion.html" with result="whatever" only %} |