Answer the question
In order to leave comments, you need to log in
Why won't Django allow you to upload a large file?
According to this setting
https://docs.djangoproject.com/en/3.0/ref/settings...
you can specify the maximum request size without taking into account uploaded files.
However, in my case, the uploaded files are also taken into account in the calculation of the allowable size and an error occurs during the upload.
Tell me why the error occurs? Am I misunderstanding the purpose of this parameter?
Is it possible to fix it without increasing the value of the DATA_UPLOAD_MAX_MEMORY_SIZE parameter in the project settings
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question