1
0
mirror of https://github.com/django/django.git synced 2025-10-26 15:16:09 +00:00

Removed HttpRequest.raw_post_data.

This commit is contained in:
Aymeric Augustin
2012-12-24 23:20:38 +01:00
parent d1c72d9e01
commit 4a6490a4a0
3 changed files with 2 additions and 29 deletions

View File

@@ -187,11 +187,6 @@ class HttpRequest(object):
self._stream = BytesIO(self._body)
return self._body
@property
def raw_post_data(self):
warnings.warn('HttpRequest.raw_post_data has been deprecated. Use HttpRequest.body instead.', DeprecationWarning)
return self.body
def _mark_post_parse_error(self):
self._post = QueryDict('')
self._files = MultiValueDict()