mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-02 20:54:42 +03:00
Add request.QUERY_PARAMS
This commit is contained in:
parent
6fc5581a8f
commit
728e92f06a
|
@ -100,6 +100,13 @@ class Request(object):
|
||||||
self._load_stream()
|
self._load_stream()
|
||||||
return self._stream
|
return self._stream
|
||||||
|
|
||||||
|
@property
|
||||||
|
def QUERY_PARAMS(self):
|
||||||
|
"""
|
||||||
|
More semantically correct name for request.GET.
|
||||||
|
"""
|
||||||
|
return self._request.GET
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def DATA(self):
|
def DATA(self):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user