              '/post-view/',
              data=None,
              content_type='application/json',
          )
          assert request.content_type == 'application/json'
 
</s> remove             if media_type and not is_form_media_type(media_type):
 </s> add             if media_type and is_form_media_type(media_type):
        assert request.META['CONTENT_TYPE'] == 'application/json'
              '/post-view/',
              data=None,
              content_type='application/json',
          )
        assert request.META['CONTENT_TYPE'] == 'application/json'
keep keep keep keep replace
 Force content_type inclusion in APIRequestFactory 
tests/test_testing.py