mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-24 08:14:16 +03:00
Minor style adjustment
This commit is contained in:
parent
4cc3dd3b23
commit
422ee696ab
|
@ -43,4 +43,8 @@ h2, h3 {
|
|||
right: 0;
|
||||
bottom: 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>
|
||||
<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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user