  from django.utils.safestring import mark_safe
  from django.views.decorators.csrf import csrf_exempt
  
  from djangorestframework.compat import View as DjangoView, apply_markdown
  from djangorestframework.response import Response, ErrorResponse
  from djangorestframework.mixins import *
  from djangorestframework import resources, renderers, parsers, authentication, permissions, status
  
  
  __all__ = (
 
</s> remove from djangorestframework.response import Response, ErrorResponse
 </s> add from djangorestframework.response import Response, ImmediateResponse </s> remove from djangorestframework.response import ErrorResponse
 </s> add from djangorestframework.response import ImmediateResponse </s> remove from djangorestframework.response import Response, ErrorResponse
 </s> add from djangorestframework.response import Response, ImmediateResponse </s> remove from djangorestframework.response import ErrorResponse
 </s> add from djangorestframework.response import ImmediateResponse </s> remove from djangorestframework.response import ErrorResponse
 </s> add from djangorestframework.response import ImmediateResponse
from djangorestframework.response import Response, ImmediateResponse
  from django.utils.safestring import mark_safe
  from django.views.decorators.csrf import csrf_exempt
  
  from djangorestframework.compat import View as DjangoView, apply_markdown
from djangorestframework.response import Response, ImmediateResponse
  from djangorestframework.mixins import *
  from djangorestframework import resources, renderers, parsers, authentication, permissions, status
  
  
  __all__ = (
keep keep keep keep replace keep keep keep keep keep
 cleaned a bit Response/ResponseMixin code, added some documentation + renamed ErrorResponse to ImmediateResponse 
djangorestframework/views.py