mirror of
				https://github.com/django/django.git
				synced 2025-10-28 08:06:09 +00:00 
			
		
		
		
	[1.8.x] Fixed #24273 -- Allowed copying RequestContext more than once.
Thanks Collin Anderson for the report.
Backport of 31d3a355 from master
			
			
This commit is contained in:
		| @@ -232,5 +232,6 @@ class RequestContext(Context): | ||||
|         new_context = super(RequestContext, self).new(values) | ||||
|         # This is for backwards-compatibility: RequestContexts created via | ||||
|         # Context.new don't include values from context processors. | ||||
|         del new_context._processors_index | ||||
|         if hasattr(new_context, '_processors_index'): | ||||
|             del new_context._processors_index | ||||
|         return new_context | ||||
|   | ||||
		Reference in New Issue
	
	Block a user