summaryrefslogtreecommitdiff
path: root/fbin/file_storage/exceptions.py
AgeCommit message (Collapse)AuthorFilesLines
2021-06-09Fix linting errorsJon Bergli Heier1-2/+6
Style, unused imports, unused variables, etc. as reported by flake8. Configuration for flake8 has been added to setup.cfg.
2019-12-07Add max file size configurationJon Bergli Heier1-0/+2
This allows configuring max file sizes for both registered and anonymous users. For registered users the USER_FILE_SIZE_LIMIT is used, and ANONYMOUS_FILE_SIZE_LIMIT for anonymous users. If the size is not specified or None, the limit is not enforced. Setting the limit to 0 effectively disables uploads.