summaryrefslogtreecommitdiffstats
path: root/core/views/scans.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2023-11-04 18:28:14 +0200
committerPhilip Sargent <philip.sargent@gmail.com>2023-11-04 18:28:14 +0200
commit3c62defdfde5d048923222d761a4edc1e9d695c6 (patch)
tree5b995b1903bc96e2b78f0c0fae6dc589c7d91219 /core/views/scans.py
parenta63275f9137eee453c6a4ce86b2d35c4eba3f06c (diff)
downloadtroggle-3c62defdfde5d048923222d761a4edc1e9d695c6.tar.gz
troggle-3c62defdfde5d048923222d761a4edc1e9d695c6.tar.bz2
troggle-3c62defdfde5d048923222d761a4edc1e9d695c6.zip
fixes and bugfix
Diffstat (limited to 'core/views/scans.py')
-rw-r--r--core/views/scans.py20
1 files changed, 8 insertions, 12 deletions
diff --git a/core/views/scans.py b/core/views/scans.py
index 2494cd9..f80f08c 100644
--- a/core/views/scans.py
+++ b/core/views/scans.py
@@ -16,22 +16,18 @@ from troggle.parsers.people import GetPersonExpeditionNameLookup
from troggle.parsers.survex import set_walletdate
-"""one of these views serves files as binary blobs, and simply set the mime type based on the file extension,
-as does the urls.py dispatcher which sends them here. Here they should actually have the filetype checked
-by looking inside the file before being served.
-
-need to check if inavlid query string is invalid, or produces multiple replies
-and render a user-friendly error page.
-
+"""
Note that caveifywallet() etc do NOT save the object to the db. They are ephemeral, just for the page rendering of the
manywallets dict.
+"""
-TODO
-
--- add the participants on an explicit wallet list to .slugpeople so that they get proper URL-linked
-on the per-person wallet report, and do the same thing for per-cave and per-year wallet reports
+todo="""
+- one of these views serves files as binary blobs, and simply set the mime type based on the file extension,
+as does the urls.py dispatcher which sends them here. Here they should actually have the filetype checked
+by looking inside the file before being served.
-add this file in to the todo list thinggy.
+- need to check if inavlid query string is invalid, or produces multiple replies
+and render a user-friendly error page.
"""
def fix_manywallets(many):