  
      hg clone https://tomchristie@bitbucket.org/tomchristie/django-rest-framework
      cd django-rest-framework/
      virtualenv --no-site-packages --distribute --python=python2.6 env
      source ./env/bin/activate
      pip install -r requirements.txt # django, coverage
  
  
  To run the tests
  
 
</s> remove             elif hasattr(instance, fname):
 </s> add             elif hasattr(instance, smart_str(fname)): </s> remove             if hasattr(self, fname):
 </s> add             if hasattr(self, smart_str(fname)): </s> remove         return getattr(self.rename, key, key)
 </s> add         return getattr(self.rename, smart_str(key), smart_str(key)) </s> remove from django.utils.encoding import smart_unicode, is_protected_type
 </s> add from django.utils.encoding import smart_unicode, is_protected_type, smart_str
    source env/bin/activate
  
      hg clone https://tomchristie@bitbucket.org/tomchristie/django-rest-framework
      cd django-rest-framework/
      virtualenv --no-site-packages --distribute --python=python2.6 env
    source env/bin/activate
      pip install -r requirements.txt # django, coverage
  
  
  To run the tests
  
keep keep keep keep replace keep keep keep keep keep
 Fix bitbucket issue 39.  All further issues should be on github 
README