There is also something strange here:
https://github.com/django/django/blob/master/django/template/context.py#L229
That line "self.update({})" doesnt do nothing. The inherited "update"
method from Context class doesnt do nothing extra.
The same here:
https://github.com/django/django/blob/master
Maybe this is a bug.
It doesnt make sense this line:
https://github.com/django/django/blob/master/django/template/context.py#L48
Its creating a ContextDict:
ContextDict(self, *dicts, **kwargs)
ContextDict inherits directly from dict. A dictionary only allows one
argument. Not more
2 matches
Mail list logo