aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Christie2013-10-16 06:41:58 -0700
committerTom Christie2013-10-16 06:41:58 -0700
commitbdf8b532180f465c035fca5da121ab1de8a057e1 (patch)
treec5b152b455625d4f25ba40c089ef41f1016c0919
parentd68700740f052323f731d4bc4b1b17fe9949b029 (diff)
parentd31fd33f4bbd52fa60949b15c2614528991e2c7a (diff)
downloaddjango-rest-framework-bdf8b532180f465c035fca5da121ab1de8a057e1.tar.bz2
Merge pull request #1180 from kevin-brown/pull_1164
Put template block around the description
-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>