diff options
| author | Alec Perkins | 2012-09-08 11:39:30 -0400 |
|---|---|---|
| committer | Alec Perkins | 2012-09-08 11:39:30 -0400 |
| commit | 422ee696abc7249c98d839c44838ad0de60c55e1 (patch) | |
| tree | 88fc6ca8b0c00305347e439c33073c3227ff009a /djangorestframework | |
| parent | 4cc3dd3b236d6f5eb17d08648780afb86b1bb9af (diff) | |
| download | django-rest-framework-422ee696abc7249c98d839c44838ad0de60c55e1.tar.bz2 | |
Minor style adjustment
Diffstat (limited to 'djangorestframework')
| -rw-r--r-- | djangorestframework/static/djangorestframework/css/style.css | 4 | ||||
| -rw-r--r-- | djangorestframework/templates/djangorestframework/base.html | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/djangorestframework/static/djangorestframework/css/style.css b/djangorestframework/static/djangorestframework/css/style.css index 3d6fdbdc..467f65b0 100644 --- a/djangorestframework/static/djangorestframework/css/style.css +++ b/djangorestframework/static/djangorestframework/css/style.css @@ -43,4 +43,8 @@ h2, h3 { right: 0; bottom: 0; left: 0; +} + +.response-info .meta { + border-bottom: 1px solid #ccc; }
\ No newline at end of file diff --git a/djangorestframework/templates/djangorestframework/base.html b/djangorestframework/templates/djangorestframework/base.html index a81c2fb7..0e115948 100644 --- a/djangorestframework/templates/djangorestframework/base.html +++ b/djangorestframework/templates/djangorestframework/base.html @@ -84,9 +84,10 @@ <pre><b>{{ request.method }}</b> {{ request.get_full_path }}</pre> <div> <div class="response-info"> - <pre><b>HTTP {{ response.status_code }} {{ response.status_text }}</b>{% autoescape off %} + <pre><div class="meta"><b>HTTP {{ response.status_code }} {{ response.status_text }}</b>{% autoescape off %} {% for key, val in response.items %}<b>{{ key }}:</b> {{ val|urlize_quoted_links }} {% endfor %} +</div> {{ content|urlize_quoted_links }}</pre>{% endautoescape %} </div> |
