diff options
Diffstat (limited to 'docs/api-guide/responses.md')
| -rw-r--r-- | docs/api-guide/responses.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/api-guide/responses.md b/docs/api-guide/responses.md index b5ad843b..e0198324 100644 --- a/docs/api-guide/responses.md +++ b/docs/api-guide/responses.md @@ -32,7 +32,7 @@ Arguments: * `data`: The serialized data for the response. * `status`: A status code for the response. Defaults to 200. See also [status codes][statuscodes]. -* `template_name`: A template name to use if `HTMLTemplateRenderer` is selected. +* `template_name`: A template name to use if `HTMLRenderer` is selected. * `headers`: A dictionary of HTTP headers to use in the response. ## .render() @@ -68,7 +68,7 @@ The rendered content of the response. The `.render()` method must have been cal ## .template_name -The `template_name`, if supplied. Only required if `HTMLTemplateRenderer` or some other custom template renderer is the accepted renderer for the reponse. +The `template_name`, if supplied. Only required if `HTMLRenderer` or some other custom template renderer is the accepted renderer for the reponse. ## .accepted_renderer @@ -84,4 +84,4 @@ Set automatically by the `APIView` or `@api_view` immediately before the respons [cite]: https://docs.djangoproject.com/en/dev/ref/template-response/ -[statuscodes]: status-codes.md
\ No newline at end of file +[statuscodes]: status-codes.md |
