diff options
| author | JoseĢ Padilla | 2014-10-31 09:04:39 -0400 | 
|---|---|---|
| committer | Dougal Matthews | 2014-11-25 12:44:11 +0000 | 
| commit | 16d442dda3ee9d4ff40d067d76706959aac4c6a3 (patch) | |
| tree | 2f180dd2ba39e9bed2dea0bbadc85815a043b471 /docs/api-guide/content-negotiation.md | |
| parent | cbb6799d2dc2d87e58e67e1044075319262a674b (diff) | |
| download | django-rest-framework-16d442dda3ee9d4ff40d067d76706959aac4c6a3.tar.bz2 | |
Use MkDocs meta.source to render source code links
Diffstat (limited to 'docs/api-guide/content-negotiation.md')
| -rw-r--r-- | docs/api-guide/content-negotiation.md | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/docs/api-guide/content-negotiation.md b/docs/api-guide/content-negotiation.md index 94dd59ca..bc3b09fb 100644 --- a/docs/api-guide/content-negotiation.md +++ b/docs/api-guide/content-negotiation.md @@ -1,4 +1,4 @@ -<a class="github" href="negotiation.py"></a> +source: negotiation.py  # Content negotiation @@ -29,7 +29,7 @@ The priorities for each of the given media types would be:  If the requested view was only configured with renderers for `YAML` and `HTML`, then REST framework would select whichever renderer was listed first in the `renderer_classes` list or `DEFAULT_RENDERER_CLASSES` setting. -For more information on the `HTTP Accept` header, see [RFC 2616][accept-header]  +For more information on the `HTTP Accept` header, see [RFC 2616][accept-header]  --- @@ -62,7 +62,7 @@ request when selecting the appropriate parser or renderer.              Select the first parser in the `.parser_classes` list.              """              return parsers[0] -         +          def select_renderer(self, request, renderers, format_suffix):              """              Select the first renderer in the `.renderer_classes` list. | 
