aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/responses.md
diff options
context:
space:
mode:
authorJosé Padilla2014-10-31 09:04:39 -0400
committerDougal Matthews2014-11-25 12:44:11 +0000
commit16d442dda3ee9d4ff40d067d76706959aac4c6a3 (patch)
tree2f180dd2ba39e9bed2dea0bbadc85815a043b471 /docs/api-guide/responses.md
parentcbb6799d2dc2d87e58e67e1044075319262a674b (diff)
downloaddjango-rest-framework-16d442dda3ee9d4ff40d067d76706959aac4c6a3.tar.bz2
Use MkDocs meta.source to render source code links
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