mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-03 13:14:30 +03:00
Minor style adjustment
This commit is contained in:
parent
4cc3dd3b23
commit
422ee696ab
|
@ -43,4 +43,8 @@ h2, h3 {
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.response-info .meta {
|
||||||
|
border-bottom: 1px solid #ccc;
|
||||||
}
|
}
|
|
@ -84,9 +84,10 @@
|
||||||
<pre><b>{{ request.method }}</b> {{ request.get_full_path }}</pre>
|
<pre><b>{{ request.method }}</b> {{ request.get_full_path }}</pre>
|
||||||
<div>
|
<div>
|
||||||
<div class="response-info">
|
<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 }}
|
{% for key, val in response.items %}<b>{{ key }}:</b> {{ val|urlize_quoted_links }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
</div>
|
||||||
{{ content|urlize_quoted_links }}</pre>{% endautoescape %}
|
{{ content|urlize_quoted_links }}</pre>{% endautoescape %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user