mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-26 11:33:59 +03:00
Sloppy copy-pasting...
This commit is contained in:
parent
f73588eb42
commit
20c7e605c9
|
@ -167,9 +167,9 @@ class MultiPartParser(BaseParser):
|
|||
{'detail': 'multipart parse error - %s' % unicode(exc)})
|
||||
return django_parser.parse()
|
||||
|
||||
DEFAULT_PARSERS = ( parsers.JSONParser,
|
||||
parsers.FormParser,
|
||||
parsers.MultiPartParser )
|
||||
DEFAULT_PARSERS = ( JSONParser,
|
||||
FormParser,
|
||||
MultiPartParser )
|
||||
|
||||
if YAMLParser:
|
||||
DEFAULT_PARSERS += (YAMLParser,)
|
||||
|
|
Loading…
Reference in New Issue
Block a user