Skip to content

Commit eee97f1

Browse files
committed
Removed endpoint section in favor of route
1 parent 7bbf1d3 commit eee97f1

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

debug_toolbar/templates/panels/request.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
1-
<h4>Endpoint information</h4>
1+
<h4>Route information</h4>
22

33
<table>
44
<thead>
55
<tr>
66
<th>Name</th>
7+
<th>Endpoint</th>
78
<th>Path params</th>
89
</tr>
910
</thead>
1011
<tbody>
1112
<tr>
13+
<td>{{ request.route.name }}</td>
1214
<td>{{ get_name_from_obj(request.endpoint) }}</td>
1315
<td>
1416
{% if request.path_params %}
@@ -36,7 +38,7 @@ <h4>Endpoint information</h4>
3638
</tr>
3739
</thead>
3840
<tbody>
39-
{% for key, value in variables %}
41+
{% for key, value in variables|sort %}
4042
<tr>
4143
<td><code>{{ key|pprint }}</code></td>
4244
<td><code>{{ value|pprint }}</code></td>

0 commit comments

Comments
 (0)