aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/templates/renderer.html
diff options
context:
space:
mode:
Diffstat (limited to 'djangorestframework/templates/renderer.html')
-rw-r--r--djangorestframework/templates/renderer.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/djangorestframework/templates/renderer.html b/djangorestframework/templates/renderer.html
index 105ea0a2..e213ecfa 100644
--- a/djangorestframework/templates/renderer.html
+++ b/djangorestframework/templates/renderer.html
@@ -48,7 +48,7 @@
<h2>GET {{ name }}</h2>
<div class='submit-row' style='margin: 0; border: 0'>
<a href='{{ request.path }}' rel="nofollow" style='float: left'>GET</a>
- {% for media_type in resource.renderted_media_types %}
+ {% for media_type in resource.rendered_media_types %}
{% with resource.ACCEPT_QUERY_PARAM|add:"="|add:media_type as param %}
[<a href='{{ request.path|add_query_param:param }}' rel="nofollow">{{ media_type }}</a>]
{% endwith %}