mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-12-02 14:34:04 +03:00
23 lines
580 B
Markdown
23 lines
580 B
Markdown
<a class="github" href="renderers.py"></a>
|
|
|
|
# Renderers
|
|
|
|
> 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.
|
|
>
|
|
> — [Django documentation][cite]
|
|
|
|
## JSONRenderer
|
|
|
|
## JSONPRenderer
|
|
|
|
## YAMLRenderer
|
|
|
|
## XMLRenderer
|
|
|
|
## DocumentingHTMLRenderer
|
|
|
|
## TemplatedHTMLRenderer
|
|
|
|
## Custom renderers
|
|
|
|
[cite]: https://docs.djangoproject.com/en/dev/ref/template-response/#the-rendering-process |