Correct media type for jsonp

This commit is contained in:
Tom Christie 2012-09-05 21:26:26 +01:00
parent 224b538b31
commit d52b4c5c61

View File

@ -121,8 +121,8 @@ class JSONPRenderer(JSONRenderer):
Renderer which serializes to JSONP Renderer which serializes to JSONP
""" """
media_type = 'application/json-p' media_type = 'application/javascript'
format = 'json-p' format = 'jsonp'
renderer_class = JSONRenderer renderer_class = JSONRenderer
callback_parameter = 'callback' callback_parameter = 'callback'