# settings.py DATA_UPLOAD_MAX_MEMORY_SIZE = 10485760 # 10 MB FILE_UPLOAD_MAX_MEMORY_SIZE = 10485760 # 10 MB