summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--django/template/context.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/template/context.py b/django/template/context.py
index 8a5f0d3c54..a7df61af16 100644
--- a/django/template/context.py
+++ b/django/template/context.py
@@ -19,9 +19,9 @@ class BaseContext(object):
def _reset_dicts(self, value=None):
builtins = {'True': True, 'False': False, 'None': None}
- if value:
- builtins.update(value)
self.dicts = [builtins]
+ if value is not None:
+ self.dicts.append(value)
def __copy__(self):
duplicate = copy(super(BaseContext, self))