1<dl class="text-sm grid grid-cols-1 sm:grid-cols-[max-content_1fr] sm:gap-y-2 gap-x-8 px-6 py-4">
2 <dt>Request ID</dt>
3 <dd class="text-sm text-white/50">{{ request.unique_id }}</dd>
4
5 <dt>Query params</dt>
6 <dd class="text-sm text-white/50">{{ request.query_params }}</dd>
7
8 <dt>Method</dt>
9 <dd class="text-sm text-white/50">{{ request.method }}</dd>
10
11 {% if request.resolver_match %}
12 <dt>View</dt>
13 <dd class="text-sm text-white/50">{{ request.resolver_match.view.view_class|pprint }}</dd>
14
15 <dt>URL pattern</dt>
16 <dd class="text-sm text-white/50">
17 <pre><code>{{ request.resolver_match.route }}</code></pre>
18 </dd>
19
20 <dt>URL name</dt>
21 <dd class="text-sm text-white/50">
22 <pre><code>{{ request.resolver_match.namespaced_url_name }}</code></pre>
23 </dd>
24
25 <dt>URL args</dt>
26 <dd class="text-sm text-white/50">
27 <pre><code>{{ request.resolver_match.args }}</code></pre>
28 </dd>
29
30 <dt>URL kwargs</dt>
31 <dd class="text-sm text-white/50">
32 <pre><code>{{ request.resolver_match.kwargs }}</code></pre>
33 </dd>
34 {% endif %}
35
36 {% if template_names is defined %}
37 <dt>Template names</dt>
38 <dd class="text-sm text-white/50">
39 <pre><code>{{ template_names }}</code></pre>
40 </dd>
41 {% endif %}
42
43 {% if object|default(false) %}
44 <dt>Primary object</dt>
45 <dd class="text-sm text-white/50 inline-flex items-center" title="PK: {{ object.pk|default('unknown') }}">
46 <pre><code>{{ object.__repr__() }}</code></pre>
47 {% if object|get_admin_model_detail_url %}
48 <a class="ml-2 inline-flex items-center p-1 text-blue-500 hover:text-blue-400" href="{{ object|get_admin_model_detail_url }}">
49 <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="w-3 h-3 bi bi-database-fill" viewBox="0 0 16 16">
50 <path d="M3.904 1.777C4.978 1.289 6.427 1 8 1s3.022.289 4.096.777C13.125 2.245 14 2.993 14 4s-.875 1.755-1.904 2.223C11.022 6.711 9.573 7 8 7s-3.022-.289-4.096-.777C2.875 5.755 2 5.007 2 4s.875-1.755 1.904-2.223"/>
51 <path d="M2 6.161V7c0 1.007.875 1.755 1.904 2.223C4.978 9.71 6.427 10 8 10s3.022-.289 4.096-.777C13.125 8.755 14 8.007 14 7v-.839c-.457.432-1.004.751-1.49.972C11.278 7.693 9.682 8 8 8s-3.278-.307-4.51-.867c-.486-.22-1.033-.54-1.49-.972"/>
52 <path d="M2 9.161V10c0 1.007.875 1.755 1.904 2.223C4.978 12.711 6.427 13 8 13s3.022-.289 4.096-.777C13.125 11.755 14 11.007 14 10v-.839c-.457.432-1.004.751-1.49.972-1.232.56-2.828.867-4.51.867s-3.278-.307-4.51-.867c-.486-.22-1.033-.54-1.49-.972"/>
53 <path d="M2 12.161V13c0 1.007.875 1.755 1.904 2.223C4.978 15.711 6.427 16 8 16s3.022-.289 4.096-.777C13.125 14.755 14 14.007 14 13v-.839c-.457.432-1.004.751-1.49.972-1.232.56-2.828.867-4.51.867s-3.278-.307-4.51-.867c-.486-.22-1.033-.54-1.49-.972"/>
54 </svg>
55 </a>
56 {% endif %}
57 </dd>
58 {% endif %}
59
60</dl>