  from django.utils import six, timezone
  from django.utils.encoding import force_text
  from django.utils.functional import Promise
  
  from rest_framework.compat import total_seconds
  
  
  class JSONEncoder(json.JSONEncoder):
      """
      JSONEncoder subclass that knows how to encode date/time/timedelta,
 
</s> remove     INDENT_SEPARATORS, LONG_SEPARATORS, SHORT_SEPARATORS, template_render
 </s> add     INDENT_SEPARATORS, LONG_SEPARATORS, SHORT_SEPARATORS, coreapi,
    template_render </s> remove from rest_framework import views
 </s> add from rest_framework import exceptions, renderers, views
from rest_framework.compat import coreapi, total_seconds
  from django.utils import six, timezone
  from django.utils.encoding import force_text
  from django.utils.functional import Promise
  
from rest_framework.compat import coreapi, total_seconds
  
  
  class JSONEncoder(json.JSONEncoder):
      """
      JSONEncoder subclass that knows how to encode date/time/timedelta,
keep keep keep keep replace keep keep keep keep keep
 Schemas & client libraries. (#4179)

* Added schema generation support.
* New tutorial section.
* API guide on schema generation.
* Topic guide on API clients. 
rest_framework/utils/encoders.py