Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #18103 -- Regression introduced in r17895.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17896 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit f0697570e916022637c6147de3f1dfb2eb360ea6 1 parent f5a9e5e
@aaugustin aaugustin authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/template/context.py
View
4 django/template/context.py
@@ -19,9 +19,9 @@ def __init__(self, dict_=None):
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))
Please sign in to comment.
Something went wrong with that request. Please try again.