mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-12-03 23:14:07 +03:00
Use correct request attribute, as per https://code.djangoproject.com/ticket/10328
This commit is contained in:
parent
9dbaac3182
commit
b189736a74
|
@ -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, {
|
||||
|
|
Loading…
Reference in New Issue
Block a user