  from rest_framework.compat import parse_date, parse_datetime
  from rest_framework.compat import timezone
  
  
  def is_simple_callable(obj):
      """
 
</s> remove             'blog_post_url': '/posts/1/'
 </s> add             'blog_post_url': 'http://testserver/posts/1/' </s> remove from django.core.urlresolvers import resolve
 </s> add from django.core.urlresolvers import resolve, get_script_prefix
from urlparse import urlparse
  from rest_framework.compat import parse_date, parse_datetime
  from rest_framework.compat import timezone
from urlparse import urlparse
  
  
  def is_simple_callable(obj):
      """
keep add keep keep keep keep
 Allow use of absolute URLs when deserializing hyperlinked fields 
rest_framework/fields.py