aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/resource.py
diff options
context:
space:
mode:
authortom christie tom@tomchristie.com2011-02-15 08:19:57 +0000
committertom christie tom@tomchristie.com2011-02-15 08:19:57 +0000
commitb749b950a1b4bede76b7e3900a6385779904902d (patch)
treecc61f2f271bf5203ede652c1f15b0c9a50dc2f3b /djangorestframework/resource.py
parent027ffed21064b1ec304a1ea559104382313d76f4 (diff)
downloaddjango-rest-framework-b749b950a1b4bede76b7e3900a6385779904902d.tar.bz2
Added credits, fixed multipart forms and unicode output as per paul's bug reports.
Diffstat (limited to 'djangorestframework/resource.py')
-rw-r--r--djangorestframework/resource.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/djangorestframework/resource.py b/djangorestframework/resource.py
index c743ce8f..b1f48f06 100644
--- a/djangorestframework/resource.py
+++ b/djangorestframework/resource.py
@@ -42,7 +42,8 @@ class Resource(ParserMixin, FormValidatorMixin, OverloadedContentMixin, Overload
# List of content-types the resource can read from
parsers = ( parsers.JSONParser,
parsers.XMLParser,
- parsers.FormParser )
+ parsers.FormParser,
+ parsers.MultipartParser )
# List of all authenticating methods to attempt
authenticators = ( authenticators.UserLoggedInAuthenticator,