  from django.core.urlresolvers import set_script_prefix
  from django.views.decorators.csrf import csrf_exempt
  
  from djangorestframework.compat import View
  from djangorestframework.emitters import EmitterMixin
  from djangorestframework.response import Response, ResponseException
  from djangorestframework.request import RequestMixin, AuthMixin
  from djangorestframework import emitters, parsers, authenticators, validators, status
  
  
  # TODO: Figure how out references and named urls need to work nicely
  # TODO: POST on existing 404 URL, PUT on existing 404 URL
 
</s> remove from djangorestframework.response import Response, ResponseException
 </s> add from djangorestframework.response import Response, ErrorResponse </s> remove from djangorestframework.emitters import EmitterMixin, BaseEmitter
 </s> add from djangorestframework.emitters import BaseEmitter
from djangorestframework.mixins import ResponseMixin </s> remove from djangorestframework.response import ResponseException
 </s> add from djangorestframework.response import ErrorResponse </s> remove from djangorestframework.response import NoContent, ResponseException
 </s> add from djangorestframework.response import ErrorResponse </s> remove from django.http import HttpResponse
 </s> add 
from djangorestframework.response import Response, ErrorResponse
from djangorestframework.mixins import RequestMixin, ResponseMixin, AuthMixin
  from django.core.urlresolvers import set_script_prefix
  from django.views.decorators.csrf import csrf_exempt
  
  from djangorestframework.compat import View
from djangorestframework.response import Response, ErrorResponse
from djangorestframework.mixins import RequestMixin, ResponseMixin, AuthMixin
from djangorestframework.response import Response, ErrorResponse
from djangorestframework.mixins import RequestMixin, ResponseMixin, AuthMixin
from djangorestframework.response import Response, ErrorResponse
from djangorestframework.mixins import RequestMixin, ResponseMixin, AuthMixin
  from djangorestframework import emitters, parsers, authenticators, validators, status
  
  
  # TODO: Figure how out references and named urls need to work nicely
  # TODO: POST on existing 404 URL, PUT on existing 404 URL
keep keep keep keep replace replace replace keep keep keep keep keep
 Rename mixins into Mixin class, rename ResponseException to ErrorResponse, remove NoContent 
djangorestframework/resource.py