summaryrefslogtreecommitdiff
path: root/fbin/file_storage/exceptions.py
AgeCommit message (Collapse)AuthorFilesLines
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.