Setting Flask max upload size

set this for 2mb:

app.config['MAX_CONTENT_LENGTH'] = 2 * 1024 * 1024


Posted by JB Uy on August 14, 2013 at 03:15 PM UTC
Edited on December 13, 2013 at 08:46 PM UTC
Public Comments
comments powered by Disqus