diff --git a/django/template/context.py b/django/template/context.py
index bcfaa3b..a771b65 100644
a
|
b
|
|
| 1 | import inspect |
1 | 2 | from copy import copy |
2 | 3 | from django.core.exceptions import ImproperlyConfigured |
3 | 4 | from django.utils.importlib import import_module |
… |
… |
class RequestContext(Context):
|
174 | 175 | else: |
175 | 176 | processors = tuple(processors) |
176 | 177 | for processor in get_standard_processors() + processors: |
177 | | self.update(processor(request)) |
| 178 | spec = inspect.getargspec(processor) |
| 179 | if len(spec[0]) == 2: |
| 180 | self.update(processor(request, self)) |
| 181 | else: |
| 182 | self.update(processor(request)) |
| 183 | |