aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/responses.md
diff options
context:
space:
mode:
authorBrickXu2014-12-02 12:52:36 +0800
committerBrickXu2014-12-02 12:52:36 +0800
commit81870b6e1a7b0c3c149d4bfba0e20924ebf1b187 (patch)
tree4acb295a3c941db00b36f54f906d4e4e24e5bcf4 /docs/api-guide/responses.md
parent71654967325ff5c587ce37031109152e741786ee (diff)
parentd1fe61ce94af1e942f8d1026fb84b1909c230779 (diff)
downloaddjango-rest-framework-81870b6e1a7b0c3c149d4bfba0e20924ebf1b187.tar.bz2
Merge pull request #2 from tomchristie/master
Merge upstream
Diffstat (limited to 'docs/api-guide/responses.md')
-rw-r--r--docs/api-guide/responses.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/api-guide/responses.md b/docs/api-guide/responses.md
index 5a42aa92..97f31271 100644
--- a/docs/api-guide/responses.md
+++ b/docs/api-guide/responses.md
@@ -1,4 +1,4 @@
-<a class="github" href="response.py"></a>
+source: response.py
# Responses
@@ -90,6 +90,6 @@ The `Response` class extends `SimpleTemplateResponse`, and all the usual attribu
As with any other `TemplateResponse`, this method is called to render the serialized data of the response into the final response content. When `.render()` is called, the response content will be set to the result of calling the `.render(data, accepted_media_type, renderer_context)` method on the `accepted_renderer` instance.
You won't typically need to call `.render()` yourself, as it's handled by Django's standard response cycle.
-
+
[cite]: https://docs.djangoproject.com/en/dev/ref/template-response/
[statuscodes]: status-codes.md