Merge pull request #224 from ralphje/master

Modify 415 error content
This commit is contained in:
Tom Christie 2012-08-21 01:38:21 -07:00
commit 8898111611

View File

@ -181,7 +181,7 @@ class RequestMixin(object):
return parser.parse(stream)
raise ErrorResponse(status.HTTP_415_UNSUPPORTED_MEDIA_TYPE,
{'error': 'Unsupported media type in request \'%s\'.' %
{'detail': 'Unsupported media type in request \'%s\'.' %
content_type})
@property