      """
      A subclass of :class:`Response` used to abort the current request handling.
      """
  
 
</s> remove     pass
 </s> add  </s> remove         return STATUS_CODE_TEXT.get(self.status, '')
 </s> add         return STATUS_CODE_TEXT.get(self.status_code, '') </s> remove     renderers = (HTMLRenderer,)
 </s> add     renderer_classes = (HTMLRenderer,) </s> remove         return Response(status.HTTP_201_CREATED)
 </s> add         return Response(status=status.HTTP_201_CREATED) </s> remove     def __getattribute__(self, name):
        if name == '__name__':
            return self.view_class.__name__
        elif name == '__doc__':
            return self.view_class.__doc__
        else:
            return super(ProxyView, self).__getattribute__(name)
 </s> add     def get_name(self):    
        return self.view_class.__name__

    def get_description(self, html):
        return self.view_class.__doc__
    def __str__(self):
        """
        Since this class is also an exception it has to provide a sensible
        representation for the cases when it is treated as an exception.
        """
        return ('%s must be caught in try/except block, '
                'and returned as a normal HttpResponse' % self.__class__.__name__)
      """
      A subclass of :class:`Response` used to abort the current request handling.
      """
  
    def __str__(self):
        """
        Since this class is also an exception it has to provide a sensible
        representation for the cases when it is treated as an exception.
        """
        return ('%s must be caught in try/except block, '
                'and returned as a normal HttpResponse' % self.__class__.__name__)
keep keep keep add
 fixed examples, corrected small bugs in the process 
djangorestframework/response.py