aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/templates
diff options
context:
space:
mode:
Diffstat (limited to 'djangorestframework/templates')
-rw-r--r--djangorestframework/templates/renderer.html (renamed from djangorestframework/templates/emitter.html)2
-rw-r--r--djangorestframework/templates/renderer.txt (renamed from djangorestframework/templates/emitter.txt)0
2 files changed, 1 insertions, 1 deletions
diff --git a/djangorestframework/templates/emitter.html b/djangorestframework/templates/renderer.html
index 1931ad39..105ea0a2 100644
--- a/djangorestframework/templates/emitter.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.emitted_media_types %}
+ {% for media_type in resource.renderted_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 %}
diff --git a/djangorestframework/templates/emitter.txt b/djangorestframework/templates/renderer.txt
index 5be8c117..5be8c117 100644
--- a/djangorestframework/templates/emitter.txt
+++ b/djangorestframework/templates/renderer.txt