From b189736a744cae727ae409fc91f05f158a112acf Mon Sep 17 00:00:00 2001 From: ncoghlan Date: Thu, 24 May 2012 18:23:04 +1000 Subject: [PATCH] Use correct request attribute, as per https://code.djangoproject.com/ticket/10328 --- djangorestframework/renderers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/djangorestframework/renderers.py b/djangorestframework/renderers.py index d9aa4028e..9438ccd44 100644 --- a/djangorestframework/renderers.py +++ b/djangorestframework/renderers.py @@ -329,7 +329,7 @@ class DocumentingTemplateRenderer(BaseRenderer): name = self.get_name() description = self.get_description() - breadcrumb_list = get_breadcrumbs(self.view.request.path) + breadcrumb_list = get_breadcrumbs(self.view.request.path_info) template = loader.get_template(self.template) context = RequestContext(self.view.request, {