summaryrefslogtreecommitdiffstats
path: root/templates/cave_debug.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/cave_debug.html')
-rw-r--r--templates/cave_debug.html36
1 files changed, 36 insertions, 0 deletions
diff --git a/templates/cave_debug.html b/templates/cave_debug.html
new file mode 100644
index 0000000..be0ce20
--- /dev/null
+++ b/templates/cave_debug.html
@@ -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 %}