aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/request.py
diff options
context:
space:
mode:
authorTom Christie2012-10-08 17:53:18 +0100
committerTom Christie2012-10-08 17:53:18 +0100
commit65f592866c5cd5103e99ed453543807bcbdaa9da (patch)
tree311282a5f372878b225ac183a387db3ba6334042 /rest_framework/request.py
parent4a21b3557edb3b901b86d3a888c44f772e33b922 (diff)
downloaddjango-rest-framework-65f592866c5cd5103e99ed453543807bcbdaa9da.tar.bz2
Fix issue where required fields were not being properly validated. Also make model fields with a default value be not required
Diffstat (limited to 'rest_framework/request.py')
-rw-r--r--rest_framework/request.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/rest_framework/request.py b/rest_framework/request.py
index 3ce93181..3725b3c9 100644
--- a/rest_framework/request.py
+++ b/rest_framework/request.py
@@ -225,7 +225,6 @@ class Request(object):
if (self._METHOD_PARAM and
self._METHOD_PARAM in self._data):
self._method = self._data[self._METHOD_PARAM].upper()
- self._data.pop(self._METHOD_PARAM)
# Content overloading - modify the content type, and force re-parse.
if (self._CONTENT_PARAM and