tomchristie/django-rest-framework — pull request #211 by ncoghlan (2012-05-24 08:25:58+00:00)
Title: The automatic breadcrumbs don't work when WSGIScriptAlias isn't "/"

As per https://code.djangoproject.com/ticket/10328, the Django-relative part of the URL is stored in the requests "path_info" attribute, while the "path" attribute also includes the WSGIScriptAlias portion.

The breadcrumb generator is currently using the wrong one, and hence all of the calls to "resolve()" fail with a 404 and no breadcrumbs are reported.