  from decimal import Decimal
  from django.core.serializers.base import DeserializedObject
  from django.utils.datastructures import SortedDict
  from rest_framework.fields import *
  
  
  class DictWithMetadata(dict):
      """
      A dict-like object, that can have additional properties attached.
 
</s> remove deps = django>=1.3.2
 </s> add deps = django==1.3.3 </s> remove deps = django>=1.4.1
 </s> add deps = django==1.4.1 </s> remove deps = django>=1.3.2
 </s> add deps = django==1.3.3 </s> remove deps = django>=1.4.1
 </s> add deps = django==1.4.1
from rest_framework.compat import get_concrete_model
  from decimal import Decimal
  from django.core.serializers.base import DeserializedObject
  from django.utils.datastructures import SortedDict
from rest_framework.compat import get_concrete_model
  from rest_framework.fields import *
  
  
  class DictWithMetadata(dict):
      """
      A dict-like object, that can have additional properties attached.
keep keep add keep keep keep keep keep keep
 Fix serialization issue with Django 1.3 
rest_framework/serializers.py