summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Fedoseev <fedoseev.sergey@gmail.com>2019-10-22 15:50:00 +0500
committerGitHub <noreply@github.com>2019-10-22 15:50:00 +0500
commit1fd4396675ac8e59e9469d13d9bf7d7dc6ecea95 (patch)
treeddbd535c7c0e37e061a3bb14783261d5562d5785
parentaf8dbbe0d5099ce09fc77abdf8a3fb8a4f4015d9 (diff)
downloaddjango-sir-sigurd-patch-1.tar.gz
Fixed typo in XViewMiddleware docstring.sir-sigurd-patch-1
-rw-r--r--django/contrib/admindocs/middleware.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/admindocs/middleware.py b/django/contrib/admindocs/middleware.py
index 4da5604106..5291a846c6 100644
--- a/django/contrib/admindocs/middleware.py
+++ b/django/contrib/admindocs/middleware.py
@@ -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.
"""