Sloppy copy-pasting...

This commit is contained in:
Jens Alm 2011-07-02 19:12:43 +02:00
parent f73588eb42
commit 20c7e605c9

View File

@ -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,)