aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/templates
diff options
context:
space:
mode:
authorOmer Katz2013-10-08 16:15:15 +0200
committerKevin Brown2013-10-16 09:15:02 -0400
commitd31fd33f4bbd52fa60949b15c2614528991e2c7a (patch)
treec5b152b455625d4f25ba40c089ef41f1016c0919 /rest_framework/templates
parentd68700740f052323f731d4bc4b1b17fe9949b029 (diff)
downloaddjango-rest-framework-d31fd33f4bbd52fa60949b15c2614528991e2c7a.tar.bz2
Allow to customize description so that markup can be accepted if needed.
Diffstat (limited to 'rest_framework/templates')
-rw-r--r--rest_framework/templates/rest_framework/base.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/rest_framework/templates/rest_framework/base.html b/rest_framework/templates/rest_framework/base.html
index 33be36db..7ab17dff 100644
--- a/rest_framework/templates/rest_framework/base.html
+++ b/rest_framework/templates/rest_framework/base.html
@@ -110,7 +110,9 @@
<div class="content-main">
<div class="page-header"><h1>{{ name }}</h1></div>
+ {% block description %}
{{ description }}
+ {% endblock %}
<div class="request-info" style="clear: both" >
<pre class="prettyprint"><b>{{ request.method }}</b> {{ request.get_full_path }}</pre>
</div>