therion issues report

This commit is contained in:
Philip Sargent 2023-01-26 22:36:49 +00:00
parent a321625f35
commit 719e0fe918
4 changed files with 25 additions and 2 deletions

View File

@ -21,7 +21,10 @@ from troggle.parsers.people import (GetPersonExpeditionNameLookup,
#from django.views.generic.list import ListView
def therionissues(request):
theriondict = {}
return render(request, 'therionreport.html', {"theriondict":theriondict})
'''Very simple report pages summarizing data about the whole set of expeditions and of
the status of data inconsistencies

View File

@ -23,7 +23,8 @@
<ul>
<li><a href="/pathsreport">Folder paths used</a> -folders settings used by this troggle installation
<li><a href="/aliases/2022">Expoer name aliases</a> -short names recognised by troggle
<li><a href="/dataissues">Data Issues on Imports</a> - warnings and errors from recent data import
<li><a href="/dataissues">Data Issues on Imports</a> - warnings and errors from the recent data import
<li><a href="/therionissues">Therion Import issues</a> - warnings from the recent data import
<li><a href="/admin/">Django admin</a> - Deep magic access to all models and data
</ul>
<h3>This control panel is being redeveloped</h3>

View File

@ -0,0 +1,18 @@
{% extends "base.html" %}
{% block title %}Troggle paths report{% endblock %}
{% block content %}
<h1>Expo Therion import issues report</h1>
<p style="font-family: Consolas, Lucida Console, monospace;">
{% for line in theriondict %}
{% empty %}
<b>No Therion parsing output found. Re-import all drawings using databaseReset.py</b>
{% endfor %}
<p>This report is generated from <code>templates/therionreport.html</code> and
by <code>therionreport(request)</code> in <code>core/views/statistics.py </code>
<hr>
<p>Go to <a href="/handbook/troggle/trogmanual.html">Troggle maintenance manuals</a>
{% endblock %}

View File

@ -147,6 +147,7 @@ trogglepatterns = [
path('stats', statistics.stats, name="stats"),
path('pathsreport', statistics.pathsreport, name="pathsreport"),
path('dataissues', statistics.dataissues, name="dataissues"),
path('therionissues', statistics.therionissues, name="therionissues"),
path('eastings', statistics.eastings, name="eastings"),
path('aliases/<int:year>',statistics.aliases, name="aliases"),