diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/views/other.py | 2 | ||||
-rw-r--r-- | core/views/scans.py | 20 |
2 files changed, 10 insertions, 12 deletions
diff --git a/core/views/other.py b/core/views/other.py index 4d7d3f1..444f0e2 100644 --- a/core/views/other.py +++ b/core/views/other.py @@ -46,6 +46,7 @@ def todos(request, module): from troggle.core.views.drawings import todo as viewdrawings from troggle.core.views.logbooks import todo as viewlogbooks from troggle.core.views.other import todo as viewother + from troggle.core.views.scans import todo as viewscans from troggle.core.views.survex import todo as viewsurvex from troggle.core.views.uploads import todo as viewuploads from troggle.core.views.wallets_edit import todo as viewwallets_edit @@ -66,6 +67,7 @@ def todos(request, module): "views/drawings": viewdrawings, "views/logbooks": viewlogbooks, "views/other": todo, + "views/scans": viewscans, "views/survex": viewsurvex, "views/uploads": viewuploads, "views/wallets_edit": viewwallets_edit, 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): |