diff options
| author | Tom Christie | 2013-10-16 06:41:58 -0700 |
|---|---|---|
| committer | Tom Christie | 2013-10-16 06:41:58 -0700 |
| commit | bdf8b532180f465c035fca5da121ab1de8a057e1 (patch) | |
| tree | c5b152b455625d4f25ba40c089ef41f1016c0919 | |
| parent | d68700740f052323f731d4bc4b1b17fe9949b029 (diff) | |
| parent | d31fd33f4bbd52fa60949b15c2614528991e2c7a (diff) | |
| download | django-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.html | 2 |
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> |
