From 38d0e855c9278b95ce749329cd69495894fe79f9 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Tue, 5 Sep 2023 23:43:07 +0300 Subject: [PATCH] Working on survexdirectory removals.. --- templates/svxcavesingle.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/templates/svxcavesingle.html b/templates/svxcavesingle.html index 3b51f3b38..ea992b90a 100644 --- a/templates/svxcavesingle.html +++ b/templates/svxcavesingle.html @@ -7,13 +7,16 @@

Surveys for {{cave.official_name}} - id:{{cave}}

{% endautoescape %} +All the processing to extract the survex subdriectories and survex files is done in this template + +CHANGE THAT and do the processing in python were it is easier to see what is going on and where +we don't need the SUrvexDirectory objects at all-->

Cave description: {{cave.url}}

Wallets: {{cave|safe}}

-{% for survexdirectory in cave.survexdirectory_set.all %} +{% for survexdirectory in cave.survexdirectory_set.all %} {{survexdirectory.path}} {% empty %}

If you were expecting to see a list of survex files here and a summary table of who did what and when, perhaps