Commit 3b81453f by Fernando Zunino

Fix: Crash when yaml isn't installed.

parent 83b47c4b
......@@ -40,13 +40,7 @@ class View(ResourceMixin, RequestMixin, ResponseMixin, AuthMixin, DjangoView):
"""
List of renderers the resource can serialize the response with, ordered by preference.
"""
renderers = ( renderers.JSONRenderer,
renderers.DocumentingHTMLRenderer,
renderers.DocumentingXHTMLRenderer,
renderers.DocumentingPlainTextRenderer,
renderers.XMLRenderer,
renderers.YAMLRenderer )
renderers = renderers.DEFAULT_RENDERERS
"""
List of parsers the resource can parse the request with.
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment