Use correct request attribute, as per https://code.djangoproject.com/ticket/10328

This commit is contained in:
ncoghlan 2012-05-24 18:23:04 +10:00
parent 9dbaac3182
commit b189736a74

View File

@ -329,7 +329,7 @@ class DocumentingTemplateRenderer(BaseRenderer):
name = self.get_name() name = self.get_name()
description = self.get_description() 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) template = loader.get_template(self.template)
context = RequestContext(self.view.request, { context = RequestContext(self.view.request, {