summaryrefslogtreecommitdiffstats
path: root/core/views/scans.py
diff options
context:
space:
mode:
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):