From 136c9b5271fc205abffbbe5422b3c345858a533b Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Mon, 11 Apr 2011 13:52:16 +0100 Subject: Tweak --- djangorestframework/request.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'djangorestframework/request.py') diff --git a/djangorestframework/request.py b/djangorestframework/request.py index 8a4330b4..7f2cb0bc 100644 --- a/djangorestframework/request.py +++ b/djangorestframework/request.py @@ -17,6 +17,7 @@ class RequestMixin(object): CONTENT_PARAM = "_content" parsers = () + validators = () def _get_method(self): """ @@ -169,6 +170,7 @@ class RequestMixin(object): self._stream = StringIO(content[self.CONTENT_PARAM]) del(self._raw_content) + def parse(self, stream, content_type): """ Parse the request content. -- cgit v1.2.3