Ticket #17229: 17229.patch

File 17229.patch, 489 bytes (added by Aymeric Augustin, 13 years ago)
  • django/template/context.py

     
    1818        self._reset_dicts(dict_)
    1919
    2020    def _reset_dicts(self, value=None):
    21         self.dicts = [value or {}]
     21        self.dicts = [value or {'True': True, 'False': False, 'None': None}]
    2222
    2323    def __copy__(self):
    2424        duplicate = copy(super(BaseContext, self))
Back to Top