From d8cdf7bc5ac1d258b36a8548c354e82ca314197a Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Sat, 14 Jun 2025 14:25:39 +0300 Subject: new to do item --- core/views/uploads.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core/views/uploads.py') diff --git a/core/views/uploads.py b/core/views/uploads.py index 12a3989..691e54d 100644 --- a/core/views/uploads.py +++ b/core/views/uploads.py @@ -35,6 +35,9 @@ and views/logbook_edit.py and that core/forms.py contains Django class-based for """ todo = """ +- Register the uploaded drawing file (views/uploads.py) using the functions in parsers/drawings.py so that queries of the database + can find newly uploaded files without having to do a database reset. + - Ideally we should validate uploaded file as being a valid file type, not a dubious script or hack Validate image files using a magic recogniser in walletedit() https://pypi.org/project/reportlab/ or -- cgit v1.2.3