This commit is contained in:
GitHub Merge Button 2011-07-02 09:34:28 -07:00
commit f54911f47a

View File

@ -40,13 +40,7 @@ class View(ResourceMixin, RequestMixin, ResponseMixin, AuthMixin, DjangoView):
""" """
List of renderers the resource can serialize the response with, ordered by preference. List of renderers the resource can serialize the response with, ordered by preference.
""" """
renderers = ( renderers.JSONRenderer, renderers = renderers.DEFAULT_RENDERERS
renderers.DocumentingHTMLRenderer,
renderers.DocumentingXHTMLRenderer,
renderers.DocumentingPlainTextRenderer,
renderers.XMLRenderer,
renderers.YAMLRenderer )
""" """
List of parsers the resource can parse the request with. List of parsers the resource can parse the request with.
""" """