              # Drop trailing slash off the end and continue to try to resolve more breadcrumbs
              return breadcrumbs_recursive(url.rstrip('/'), breadcrumbs_list)
  
          # Drop trailing non-slash off the end and continue to try to resolve more breadcrumbs
          return breadcrumbs_recursive(url[:url.rfind('/') + 1], breadcrumbs_list)
  
      return breadcrumbs_recursive(url, [])
  
 
</s> remove             return breadcrumbs_recursive(url.rstrip('/'), breadcrumbs_list)
 </s> add             return breadcrumbs_recursive(url.rstrip('/'), breadcrumbs_list, prefix) </s> remove                 breadcrumbs_list.insert(0, (view.cls_instance.get_name(), url))
 </s> add                 breadcrumbs_list.insert(0, (view.cls_instance.get_name(), prefix + url)) </s> remove     def breadcrumbs_recursive(url, breadcrumbs_list):
 </s> add     def breadcrumbs_recursive(url, breadcrumbs_list, prefix): </s> remove from django.core.urlresolvers import resolve
 </s> add from django.core.urlresolvers import resolve, get_script_prefix

        return breadcrumbs_recursive(url[:url.rfind('/') + 1], breadcrumbs_list, prefix)
              # Drop trailing slash off the end and continue to try to resolve more breadcrumbs
              return breadcrumbs_recursive(url.rstrip('/'), breadcrumbs_list)
  
          # Drop trailing non-slash off the end and continue to try to resolve more breadcrumbs
        return breadcrumbs_recursive(url[:url.rfind('/') + 1], breadcrumbs_list, prefix)
        return breadcrumbs_recursive(url[:url.rfind('/') + 1], breadcrumbs_list, prefix)
        return breadcrumbs_recursive(url[:url.rfind('/') + 1], breadcrumbs_list, prefix)
  
keep keep keep keep replace replace replace keep
 Breadcrumbs play nicely when app not installed at root URL.  Fixes #211 
djangorestframework/utils/breadcrumbs.py