aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/request.py
diff options
context:
space:
mode:
authorTom Christie2014-11-25 11:42:43 +0000
committerTom Christie2014-11-25 11:42:43 +0000
commit2e726e22a394347b7337eb38a2a3a1b0ccde88bc (patch)
treebade6fc0990db4017978acb688730dcbfb20ddc9 /rest_framework/request.py
parent06fd63dade20e1a19276b7414a54b9f5d2ef8329 (diff)
downloaddjango-rest-framework-2e726e22a394347b7337eb38a2a3a1b0ccde88bc.tar.bz2
request.DATA, request.FILES -> request.data
Diffstat (limited to 'rest_framework/request.py')
-rw-r--r--rest_framework/request.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/request.py b/rest_framework/request.py
index 096b3042..d7e74674 100644
--- a/rest_framework/request.py
+++ b/rest_framework/request.py
@@ -310,7 +310,7 @@ class Request(object):
def _load_data_and_files(self):
"""
- Parses the request content into self.DATA and self.FILES.
+ Parses the request content into `self.data`.
"""
if not _hasattr(self, '_content_type'):
self._load_method_and_content_type()