From 422ee696abc7249c98d839c44838ad0de60c55e1 Mon Sep 17 00:00:00 2001 From: Alec Perkins Date: Sat, 8 Sep 2012 11:39:30 -0400 Subject: [PATCH] Minor style adjustment --- djangorestframework/static/djangorestframework/css/style.css | 4 ++++ djangorestframework/templates/djangorestframework/base.html | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/djangorestframework/static/djangorestframework/css/style.css b/djangorestframework/static/djangorestframework/css/style.css index 3d6fdbdc2..467f65b07 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 a81c2fb79..0e1159483 100644 --- a/djangorestframework/templates/djangorestframework/base.html +++ b/djangorestframework/templates/djangorestframework/base.html @@ -84,9 +84,10 @@
{{ request.method }} {{ request.get_full_path }}
-
HTTP {{ response.status_code }} {{ response.status_text }}{% autoescape off %}
+                
HTTP {{ response.status_code }} {{ response.status_text }}{% autoescape off %} {% for key, val in response.items %}{{ key }}: {{ val|urlize_quoted_links }} {% endfor %} +
{{ content|urlize_quoted_links }}
{% endautoescape %}