  
  from urllib import quote_plus
  import string
  import re
  from decimal import Decimal
  
  try:
      import json
  except ImportError:
      import simplejson as json
 
</s> remove from djangorestframework.response import Response, ResponseException
 </s> add from djangorestframework.response import Response, ErrorResponse </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 djangorestframework.emitters import EmitterMixin, BaseEmitter
 </s> add from djangorestframework.emitters import BaseEmitter
from djangorestframework.mixins import ResponseMixin </s> remove from djangorestframework.emitters import EmitterMixin
from djangorestframework.response import Response, ResponseException
from djangorestframework.request import RequestMixin, AuthMixin
 </s> add from djangorestframework.response import Response, ErrorResponse
from djangorestframework.mixins import RequestMixin, ResponseMixin, AuthMixin
  
  from urllib import quote_plus
  import string
  import re

  
  try:
      import json
  except ImportError:
      import simplejson as json
keep keep keep keep replace keep keep keep keep keep
 Rename mixins into Mixin class, rename ResponseException to ErrorResponse, remove NoContent 
djangorestframework/emitters.py