[geany/www.geany.org] 21db0c: Increase upload file size to allow larger uploads

Enrico Tröger git-noreply at xxxxx
Tue May 7 19:45:33 UTC 2019


Branch:      refs/heads/master
Author:      Enrico Tröger <enrico.troeger at uvena.de>
Committer:   Enrico Tröger <enrico.troeger at uvena.de>
Date:        Tue, 07 May 2019 19:45:33 UTC
Commit:      21db0c4ce08e4afa982028b7adef4aa6d12e567f
             https://github.com/geany/www.geany.org/commit/21db0c4ce08e4afa982028b7adef4aa6d12e567f

Log Message:
-----------
Increase upload file size to allow larger uploads

The default upload file size is 2.5 MB but nowadays even images like to
be a bit larger.


Modified Paths:
--------------
    geany/settings.py

Modified: geany/settings.py
1 lines changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -183,6 +183,7 @@
 # The numeric mode to set newly-uploaded files to. The value should be
 # a mode you'd pass directly to os.chmod.
 FILE_UPLOAD_PERMISSIONS = 0o644
+FILE_UPLOAD_MAX_MEMORY_SIZE = 10485760  # 10 MB
 
 
 ADMINS = (('Enrico Tröger', 'enrico.troeger at uvena.de'),)



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list