From 182f98c4c77dcb0262360438a1ab01a80684a7a4 Mon Sep 17 00:00:00 2001 From: Liam Brenner Date: Tue, 9 Feb 2016 11:23:36 +1100 Subject: [PATCH] Fixed typo in django/middleware/common.py docstring. --- django/middleware/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/middleware/common.py b/django/middleware/common.py index c2eb88631c9..948b76c71b1 100644 --- a/django/middleware/common.py +++ b/django/middleware/common.py @@ -85,7 +85,7 @@ class CommonMiddleware(object): Return the full path of the request with a trailing slash appended. Raise a RuntimeError if settings.DEBUG is True and request.method is - GET, PUT, or PATCH. + POST, PUT, or PATCH. """ new_path = request.get_full_path(force_append_slash=True) if settings.DEBUG and request.method in ('POST', 'PUT', 'PATCH'):