  import warnings
  
  from django.core import validators
  from django.core.exceptions import ObjectDoesNotExist, ValidationError
  from django.core.urlresolvers import resolve
  from django.conf import settings
  from django.forms import widgets
  from django.utils.encoding import is_protected_type, smart_unicode
  from django.utils.translation import ugettext_lazy as _
  from rest_framework.reverse import reverse
 
</s> remove             'blog_post_url': '/posts/1/'
 </s> add             'blog_post_url': 'http://testserver/posts/1/'
from django.core.urlresolvers import resolve, get_script_prefix
  import warnings
  
  from django.core import validators
  from django.core.exceptions import ObjectDoesNotExist, ValidationError
from django.core.urlresolvers import resolve, get_script_prefix
  from django.conf import settings
  from django.forms import widgets
  from django.utils.encoding import is_protected_type, smart_unicode
  from django.utils.translation import ugettext_lazy as _
  from rest_framework.reverse import reverse
keep keep keep keep replace keep keep keep keep keep
 Allow use of absolute URLs when deserializing hyperlinked fields 
rest_framework/fields.py