mirror of
				https://github.com/encode/django-rest-framework.git
				synced 2025-11-04 01:47:59 +03:00 
			
		
		
		
	Fixed the cache issue with Django 1.7 rc*
This commit is contained in:
		
							parent
							
								
									0cbdbd24e5
								
							
						
					
					
						commit
						4210fedd21
					
				| 
						 | 
					@ -15,6 +15,7 @@ class Response(SimpleTemplateResponse):
 | 
				
			||||||
    An HttpResponse that allows its data to be rendered into
 | 
					    An HttpResponse that allows its data to be rendered into
 | 
				
			||||||
    arbitrary media types.
 | 
					    arbitrary media types.
 | 
				
			||||||
    """
 | 
					    """
 | 
				
			||||||
 | 
					    rendering_attrs = SimpleTemplateResponse.rendering_attrs + ['_closable_objects']
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def __init__(self, data=None, status=200,
 | 
					    def __init__(self, data=None, status=200,
 | 
				
			||||||
                 template_name=None, headers=None,
 | 
					                 template_name=None, headers=None,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user