      format = 'jsonp'
      callback_parameter = 'callback'
      default_callback = 'callback'
  
      def get_callback(self):
          """
          Determine the name of the callback to wrap around the json output.
          """
          params = self.view.request.GET
          return params.get(self.callback_parameter, self.default_callback)
 
</s> remove         params = self.view.request.GET
 </s> add         request = renderer_context.get('request', None)
        params = request and request.GET or {} </s> remove     def render(self, data=None, accepted_media_type=None):
 </s> add     def render(self, data, accepted_media_type=None, renderer_context=None): </s> remove         callback = self.get_callback()
        json = super(JSONPRenderer, self).render(data, accepted_media_type)
 </s> add         renderer_context = renderer_context or {}
        callback = self.get_callback(renderer_context)
        json = super(JSONPRenderer, self).render(data, accepted_media_type,
                                                 renderer_context) </s> remove     def render(self, data=None, accepted_media_type=None):
 </s> add     def render(self, data, accepted_media_type=None, renderer_context=None): </s> remove         view = self.view
        request = view.request
        response = view.response
 </s> add         accepted_media_type = accepted_media_type or ''
        renderer_context = renderer_context or {}
    def get_callback(self, renderer_context):
      format = 'jsonp'
      callback_parameter = 'callback'
      default_callback = 'callback'
  
    def get_callback(self, renderer_context):
          """
          Determine the name of the callback to wrap around the json output.
          """
          params = self.view.request.GET
          return params.get(self.callback_parameter, self.default_callback)
keep keep keep keep replace keep keep keep keep keep
 Make sure JSON output in Browseable API is nicely indented 
rest_framework/renderers.py