mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-23 10:03:57 +03:00
Merge pull request #1180 from kevin-brown/pull_1164
Put template block around the description
This commit is contained in:
commit
bdf8b53218
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user