  from django.core.serializers.json import DateTimeAwareJSONEncoder
  from django.template import RequestContext, loader
  from django.utils import simplejson as json
  
  from djangorestframework import status
  from djangorestframework.compat import apply_markdown
  from djangorestframework.utils import dict2xml, url_resolves
  from djangorestframework.utils.breadcrumbs import get_breadcrumbs
  from djangorestframework.utils.description import get_name, get_description
  from djangorestframework.utils.mediatypes import get_media_type_params, add_media_type_param, media_type_matches
 
</s> remove from decimal import Decimal
import re
 </s> add  </s> remove                       XMLRenderer )
 </s> add                       XMLRenderer,
                      YAMLRenderer )
  from django.core.serializers.json import DateTimeAwareJSONEncoder
  from django.template import RequestContext, loader
  from django.utils import simplejson as json
  

  from djangorestframework.compat import apply_markdown
  from djangorestframework.utils import dict2xml, url_resolves
  from djangorestframework.utils.breadcrumbs import get_breadcrumbs
  from djangorestframework.utils.description import get_name, get_description
  from djangorestframework.utils.mediatypes import get_media_type_params, add_media_type_param, media_type_matches
keep keep keep keep replace keep keep keep keep keep
 Very basic YAML support. Probably needs some tweaking, and definitely needs tests. 
djangorestframework/renderers.py