diff options
| author | Tom Christie | 2012-09-26 12:39:39 +0100 |
|---|---|---|
| committer | Tom Christie | 2012-09-26 12:39:39 +0100 |
| commit | 728e92f06a86bb18baa73f42433468c4d042affd (patch) | |
| tree | 928f385b77e196a70d99b200420e1cd57bc2539c | |
| parent | 6fc5581a8fba45fe22920e65b2d0790d483a8378 (diff) | |
| download | django-rest-framework-728e92f06a86bb18baa73f42433468c4d042affd.tar.bz2 | |
Add request.QUERY_PARAMS
| -rw-r--r-- | rest_framework/request.py | 7 |
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. |
