Ticket #7752: 7752_fix.diff

File 7752_fix.diff, 694 bytes (added by teepark, 7 years ago)

initial patch, no tests

  • django/template/context.py

     
    9494    using the "processors" keyword argument.
    9595    """
    9696    def __init__(self, request, dict=None, processors=None):
    97         Context.__init__(self, dict)
     97        Context.__init__(self)
    9898        if processors is None:
    9999            processors = ()
    100100        else:
    101101            processors = tuple(processors)
    102102        for processor in get_standard_processors() + processors:
    103103            self.update(processor(request))
     104        if dict is not None:
     105            self.update(dict)
Back to Top