Ticket #7752: 7752_fix.diff
File 7752_fix.diff, 694 bytes (added by , 16 years ago) |
---|
-
django/template/context.py
94 94 using the "processors" keyword argument. 95 95 """ 96 96 def __init__(self, request, dict=None, processors=None): 97 Context.__init__(self , dict)97 Context.__init__(self) 98 98 if processors is None: 99 99 processors = () 100 100 else: 101 101 processors = tuple(processors) 102 102 for processor in get_standard_processors() + processors: 103 103 self.update(processor(request)) 104 if dict is not None: 105 self.update(dict)