remove unnecessary spaces

This commit is contained in:
Ryan Petrello
2018-07-11 09:48:34 -04:00
parent 5fd7badd1b
commit 090c585be5

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