From 97a7f27c8219181e40dddcaf820545e08283de93 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Tue, 9 Oct 2012 15:58:48 +0100 Subject: Rename HTMLTemplateRenderer -> HTMLRenderer, DocuemntingHTMLRenderer -> BrowseableAPIRenderer --- docs/api-guide/responses.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/api-guide/responses.md') 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 -- cgit v1.2.3