Add max image upload size limit

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2022-05-04 21:14:00 -07:00
parent e6c60ff93c
commit 6ed47f9957
6 changed files with 27 additions and 12 deletions

View File

@@ -132,3 +132,5 @@ MEDIA_ROOT = "media/"
MEDIA_URL = "media/"
THUMB_SIZE = (200, 200)
MAX_UPLOAD_SIZE = 25 * 1024**2