forked from expo/troggle
debug ent report
This commit is contained in:
36
templates/cave_debug.html
Normal file
36
templates/cave_debug.html
Normal file
@@ -0,0 +1,36 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}DEBUG page
|
||||
<!-- cave_debug.html - this text visible because this template has been included -->
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h2 id="cmult">Entrances</h2>
|
||||
<table>
|
||||
<tr><th>ent</th>
|
||||
<th>cached_primary_slug</th>
|
||||
<th>N slugs</th>
|
||||
<th>slugs</th>
|
||||
</tr>
|
||||
{% for ent in ents %}
|
||||
<tr>
|
||||
<td>
|
||||
{{ent}}
|
||||
</td>
|
||||
<td>
|
||||
{{ent.cached_primary_slug}}
|
||||
</td>
|
||||
<td>
|
||||
{{ent.entranceslug_set.all|length }}
|
||||
</td>
|
||||
<td>
|
||||
{% for s in ent.entranceslug_set.all %}
|
||||
{{s.slug}},
|
||||
{% endfor %}
|
||||
</td>
|
||||
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user