1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

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

View File

@ -12,7 +12,7 @@ class XViewMiddleware(MiddlewareMixin):
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
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
function for an arbitrary page.
"""