aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rest_framework/request.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/rest_framework/request.py b/rest_framework/request.py
index dcf17adf..2034ccc6 100644
--- a/rest_framework/request.py
+++ b/rest_framework/request.py
@@ -101,6 +101,13 @@ class Request(object):
return self._stream
@property
+ def QUERY_PARAMS(self):
+ """
+ More semantically correct name for request.GET.
+ """
+ return self._request.GET
+
+ @property
def DATA(self):
"""
Parses the request body and returns the data.