From 65f592866c5cd5103e99ed453543807bcbdaa9da Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Mon, 8 Oct 2012 17:53:18 +0100 Subject: Fix issue where required fields were not being properly validated. Also make model fields with a default value be not required --- rest_framework/request.py | 1 - 1 file changed, 1 deletion(-) (limited to 'rest_framework/request.py') 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 -- cgit v1.2.3