Author: SmileyChris Date: 2011-04-18 19:14:07 -0700 (Mon, 18 Apr 2011) New Revision: 16044
Modified: django/trunk/django/template/context.py Log: Fixes #15721 (again) via a minor tweak to avoid unexpected behaviour of copy() which caused a range of test failures Modified: django/trunk/django/template/context.py =================================================================== --- django/trunk/django/template/context.py 2011-04-18 23:20:07 UTC (rev 16043) +++ django/trunk/django/template/context.py 2011-04-19 02:14:07 UTC (rev 16044) @@ -92,7 +92,7 @@ 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 -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.