aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/request.py
diff options
context:
space:
mode:
Diffstat (limited to 'rest_framework/request.py')
-rw-r--r--rest_framework/request.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/rest_framework/request.py b/rest_framework/request.py
index 081ace23..fd4f6a3e 100644
--- a/rest_framework/request.py
+++ b/rest_framework/request.py
@@ -383,9 +383,9 @@ class Request(object):
# We only need to use form overloading on form POST requests.
if (
- not USE_FORM_OVERLOADING
- or self._request.method != 'POST'
- or not is_form_media_type(self._content_type)
+ self._request.method != 'POST' or
+ not USE_FORM_OVERLOADING or
+ not is_form_media_type(self._content_type)
):
return