Fixed #18103 -- Regression introduced in r17895.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17896 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
f5a9e5e928
commit
f0697570e9
|
@ -19,9 +19,9 @@ class BaseContext(object):
|
||||||
|
|
||||||
def _reset_dicts(self, value=None):
|
def _reset_dicts(self, value=None):
|
||||||
builtins = {'True': True, 'False': False, 'None': None}
|
builtins = {'True': True, 'False': False, 'None': None}
|
||||||
if value:
|
|
||||||
builtins.update(value)
|
|
||||||
self.dicts = [builtins]
|
self.dicts = [builtins]
|
||||||
|
if value is not None:
|
||||||
|
self.dicts.append(value)
|
||||||
|
|
||||||
def __copy__(self):
|
def __copy__(self):
|
||||||
duplicate = copy(super(BaseContext, self))
|
duplicate = copy(super(BaseContext, self))
|
||||||
|
|
Loading…
Reference in New Issue