Limit uploadable file size to 32 MiB for non-subscribers.

This commit is contained in:
2016-07-08 11:26:56 +02:00
parent a322aee0c7
commit 5d26de633c
4 changed files with 107 additions and 5 deletions

View File

@@ -6,3 +6,6 @@ DEBUG = False
TESTING = True
CDN_STORAGE_USER = 'u41508580125621'
FILESIZE_LIMIT_BYTES_NONSUBS = 20 * 2 ** 10
ROLES_FOR_UNLIMITED_UPLOADS = {u'subscriber', u'demo', u'admin'}