Increased ebook upload limit to 50 MB
This commit is contained in:
parent
2ba613fdd8
commit
4274f49971
1 changed files with 3 additions and 3 deletions
|
|
@ -32,10 +32,10 @@ INSTALLED_APPS = [
|
|||
'gpodder',
|
||||
]
|
||||
|
||||
EBOOK_MAX_BYTES = 10 * 1024 * 1024 # 10 MB
|
||||
EBOOK_MAX_BYTES = 50 * 1024 * 1024 # 50 MB
|
||||
|
||||
# Encrypted uploads are base64-encoded (~33% overhead) so allow ~25 MB body
|
||||
DATA_UPLOAD_MAX_MEMORY_SIZE = 25 * 1024 * 1024
|
||||
# Encrypted uploads are base64-encoded (~33% overhead) so allow ~75 MB body
|
||||
DATA_UPLOAD_MAX_MEMORY_SIZE = 75 * 1024 * 1024
|
||||
|
||||
MIDDLEWARE = [
|
||||
'django.middleware.security.SecurityMiddleware',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue