django-rest-framework/docs/api-guide/renderers.md

23 lines
580 B
Markdown
Raw Normal View History

2012-09-09 01:06:13 +04:00
<a class="github" href="renderers.py"></a>
2012-09-01 23:26:27 +04:00
# Renderers
2012-09-27 00:47:19 +04:00
> Before a TemplateResponse instance can be returned to the client, it must be rendered. The rendering process takes the intermediate representation of template and context, and turns it into the final byte stream that can be served to the client.
>
> &mdash; [Django documentation][cite]
2012-09-01 23:26:27 +04:00
2012-09-27 00:47:19 +04:00
## JSONRenderer
## JSONPRenderer
## YAMLRenderer
## XMLRenderer
## DocumentingHTMLRenderer
## TemplatedHTMLRenderer
## Custom renderers
[cite]: https://docs.djangoproject.com/en/dev/ref/template-response/#the-rendering-process