Merge pull request #2484 from ryanpetrello/spaaaaaaaaaaaaaaaaaaaace

remove unnecessary spaces
This commit is contained in:
Ryan Petrello 2018-07-11 10:04:23 -04:00 committed by GitHub
commit 3c8a81bcab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -196,8 +196,8 @@ class APIView(views.APIView):
request.drf_request_user = None
self.__init_request_error__ = exc
except UnsupportedMediaType as exc:
exc.detail = _('You did not use correct content_type in your HTTP request. \
If you are using our REST API, the content_type must be application/json')
exc.detail = _('You did not use correct Content-Type in your HTTP request. '
'If you are using our REST API, the Content-Type must be application/json')
self.__init_request_error__ = exc
return drf_request