diff options
| author | Omer Katz | 2013-10-08 16:15:15 +0200 |
|---|---|---|
| committer | Kevin Brown | 2013-10-16 09:15:02 -0400 |
| commit | d31fd33f4bbd52fa60949b15c2614528991e2c7a (patch) | |
| tree | c5b152b455625d4f25ba40c089ef41f1016c0919 | |
| parent | d68700740f052323f731d4bc4b1b17fe9949b029 (diff) | |
| download | django-rest-framework-d31fd33f4bbd52fa60949b15c2614528991e2c7a.tar.bz2 | |
Allow to customize description so that markup can be accepted if needed.
| -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> |
