aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/templates/renderer.html
diff options
context:
space:
mode:
authorTom Christie2011-05-10 16:01:58 +0100
committerTom Christie2011-05-10 16:01:58 +0100
commit4d126796752cc3c79a24fd9caed49da6c525096f (patch)
tree117148c29b0a0f8ca4bbfb299a613b2dbabe8259 /djangorestframework/templates/renderer.html
parenta2575c1191104df024b41c58825b9a24d4c4ae2d (diff)
downloaddjango-rest-framework-4d126796752cc3c79a24fd9caed49da6c525096f.tar.bz2
More tests, getting new serialization into resource
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 %}