diff options
| author | Liam Brenner <liam.brenner@gmail.com> | 2016-02-09 11:23:36 +1100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-02-09 08:06:26 -0500 |
| commit | 182f98c4c77dcb0262360438a1ab01a80684a7a4 (patch) | |
| tree | c78f86a6ecd685a247a501d1721c394959a47e50 /django/middleware/common.py | |
| parent | f0a84112ba1c9b253ebbcbd5d6942f01a7bee9d3 (diff) | |
Fixed typo in django/middleware/common.py docstring.
Diffstat (limited to 'django/middleware/common.py')
| -rw-r--r-- | django/middleware/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/middleware/common.py b/django/middleware/common.py index c2eb88631c..948b76c71b 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'): |
