Fixed typo in XViewMiddleware.process_view() docstring.

This commit is contained in:
Sergey Fedoseev 2019-10-22 17:30:52 +05:00 committed by Mariusz Felisiak
parent 6c23b43655
commit 909c59f290
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ class XViewMiddleware(MiddlewareMixin):
def process_view(self, request, view_func, view_args, view_kwargs): def process_view(self, request, view_func, view_args, view_kwargs):
""" """
If the request method is HEAD and either the IP is internal or the If the request method is HEAD and either the IP is internal or the
user is a logged-in staff member, return a responsewith an x-view user is a logged-in staff member, return a response with an x-view
header indicating the view function. This is used to lookup the view header indicating the view function. This is used to lookup the view
function for an arbitrary page. function for an arbitrary page.
""" """