Commit 20c7e605 by Jens Alm

Sloppy copy-pasting...

parent f73588eb
...@@ -167,9 +167,9 @@ class MultiPartParser(BaseParser): ...@@ -167,9 +167,9 @@ class MultiPartParser(BaseParser):
{'detail': 'multipart parse error - %s' % unicode(exc)}) {'detail': 'multipart parse error - %s' % unicode(exc)})
return django_parser.parse() return django_parser.parse()
DEFAULT_PARSERS = ( parsers.JSONParser, DEFAULT_PARSERS = ( JSONParser,
parsers.FormParser, FormParser,
parsers.MultiPartParser ) MultiPartParser )
if YAMLParser: if YAMLParser:
DEFAULT_PARSERS += (YAMLParser,) DEFAULT_PARSERS += (YAMLParser,)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment