Adds functionality for uploading files to the server and managing them. See uploads : Managing uploaded files.
(This module's source code is available here.)
- class lino.modlib.uploads.Plugin(site, app_label, app_name, app_module, needed_by)¶
- max_file_size = 512000¶
Refuse to upload files that are larger than this (in bytes).
- remove_orphaned_files = False¶
Whether checkdata --fix should automatically delete orphaned files in the uploads folder.