diff options
| author | Jens Alm | 2011-07-02 19:12:43 +0200 | 
|---|---|---|
| committer | Jens Alm | 2011-07-02 19:12:43 +0200 | 
| commit | 20c7e605c987bbfec23fbd305e71168b21672bec (patch) | |
| tree | cc4b931316fa76fe5dfc75ee66c315e2b29089db | |
| parent | f73588eb425f611cb79c7a56133690328739bf6c (diff) | |
| download | django-rest-framework-20c7e605c987bbfec23fbd305e71168b21672bec.tar.bz2 | |
Sloppy copy-pasting...
| -rw-r--r-- | djangorestframework/parsers.py | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/djangorestframework/parsers.py b/djangorestframework/parsers.py index f4c8dcb4..168d391e 100644 --- a/djangorestframework/parsers.py +++ b/djangorestframework/parsers.py @@ -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,)  | 
