1
1
mirror of https://github.com/encode/django-rest-framework.git synced 2025-08-13 16:54:47 +03:00

Merge pull request from kevin-brown/pull_1164

Put template block around the description
This commit is contained in:
Tom Christie 2013-10-16 06:41:58 -07:00
commit bdf8b53218

View File

@ -110,7 +110,9 @@
<div class="content-main"> <div class="content-main">
<div class="page-header"><h1>{{ name }}</h1></div> <div class="page-header"><h1>{{ name }}</h1></div>
{% block description %}
{{ description }} {{ description }}
{% endblock %}
<div class="request-info" style="clear: both" > <div class="request-info" style="clear: both" >
<pre class="prettyprint"><b>{{ request.method }}</b> {{ request.get_full_path }}</pre> <pre class="prettyprint"><b>{{ request.method }}</b> {{ request.get_full_path }}</pre>
</div> </div>