  from django.test.client import encode_multipart
  from django.utils import six
  from django.utils.xmlutils import SimplerXMLGenerator
  from rest_framework import exceptions, serializers, status, VERSION
  from rest_framework.compat import StringIO, smart_text, yaml
  from rest_framework.exceptions import ParseError
  from rest_framework.settings import api_settings
  from rest_framework.request import is_form_media_type, override_method
  from rest_framework.utils import encoders
  from rest_framework.utils.breadcrumbs import get_breadcrumbs
 
</s> remove         separators = (',', ':') if (indent is None and self.compact) else (', ', ': ')
 </s> add         separators = SHORT_SEPARATORS if (indent is None and self.compact) else LONG_SEPARATORS
from rest_framework.compat import (
    SHORT_SEPARATORS, LONG_SEPARATORS, StringIO, smart_text, yaml
)
  from django.test.client import encode_multipart
  from django.utils import six
  from django.utils.xmlutils import SimplerXMLGenerator
  from rest_framework import exceptions, serializers, status, VERSION
from rest_framework.compat import (
    SHORT_SEPARATORS, LONG_SEPARATORS, StringIO, smart_text, yaml
)
  from rest_framework.exceptions import ParseError
  from rest_framework.settings import api_settings
  from rest_framework.request import is_form_media_type, override_method
  from rest_framework.utils import encoders
  from rest_framework.utils.breadcrumbs import get_breadcrumbs
keep keep keep keep replace keep keep keep keep keep
 Ensure json.dumps(separators=...) works on both 2.x and 3.x 
rest_framework/renderers.py