aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/responses.md
diff options
context:
space:
mode:
authorTom Christie2012-10-09 15:58:48 +0100
committerTom Christie2012-10-09 15:58:48 +0100
commit97a7f27c8219181e40dddcaf820545e08283de93 (patch)
treea81297e834cf40b216ed29a487d083b1a125ffb7 /docs/api-guide/responses.md
parentce21fa1dc6dd8c941b71d9219360b3e9083051d4 (diff)
downloaddjango-rest-framework-97a7f27c8219181e40dddcaf820545e08283de93.tar.bz2
Rename HTMLTemplateRenderer -> HTMLRenderer, DocuemntingHTMLRenderer -> BrowseableAPIRenderer
Diffstat (limited to 'docs/api-guide/responses.md')
-rw-r--r--docs/api-guide/responses.md6
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