aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/templates/renderer.txt
diff options
context:
space:
mode:
authorTom Christie2011-04-29 14:32:56 +0100
committerTom Christie2011-04-29 14:32:56 +0100
commitb358fbdbe9cbd4ce644c4b2c7b9b4cec0811e14e (patch)
tree601e5576995809b74f914cafcee8a7a8cd9c6937 /djangorestframework/templates/renderer.txt
parent93aa065fa92f64472a3ee80564020a81776be742 (diff)
downloaddjango-rest-framework-b358fbdbe9cbd4ce644c4b2c7b9b4cec0811e14e.tar.bz2
More refactoring - move various less core stuff into utils etc
Diffstat (limited to 'djangorestframework/templates/renderer.txt')
-rw-r--r--djangorestframework/templates/renderer.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/djangorestframework/templates/renderer.txt b/djangorestframework/templates/renderer.txt
new file mode 100644
index 00000000..5be8c117
--- /dev/null
+++ b/djangorestframework/templates/renderer.txt
@@ -0,0 +1,8 @@
+{{ name }}
+
+{{ description }}
+
+{% autoescape off %}HTTP/1.0 {{ response.status }} {{ response.status_text }}
+{% for key, val in response.headers.items %}{{ key }}: {{ val }}
+{% endfor %}
+{{ content }}{% endautoescape %}