summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Beaven <smileychris@gmail.com>2011-04-19 02:14:07 +0000
committerChris Beaven <smileychris@gmail.com>2011-04-19 02:14:07 +0000
commit9587235530b5e3315e3348b1e0d0899ec5408f6d (patch)
tree8f2e4d3f219b047bf1f12c876711c01ccc915310
parent6f84e520e56e295c99ac44390c3cc8ffbac11d46 (diff)
Fixes #15721 (again) via a minor tweak to avoid unexpected behaviour of copy() which caused a range of test failures
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16044 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/template/context.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/template/context.py b/django/template/context.py
index acc5758f75..cb1c708738 100644
--- a/django/template/context.py
+++ b/django/template/context.py
@@ -92,7 +92,7 @@ class Context(BaseContext):
super(Context, self).__init__(dict_)
def __copy__(self):
- duplicate = copy(super(Context, self))
+ duplicate = super(Context, self).__copy__()
duplicate.render_context = copy(self.render_context)
return duplicate