From 090c585be5739198d9a1b9a217a61d0128375624 Mon Sep 17 00:00:00 2001 From: Ryan Petrello Date: Wed, 11 Jul 2018 09:48:34 -0400 Subject: [PATCH] remove unnecessary spaces --- awx/api/generics.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/api/generics.py b/awx/api/generics.py index 8d4eaeb4ad..00e7933ed9 100644 --- a/awx/api/generics.py +++ b/awx/api/generics.py @@ -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