I need to have Django model with a filefield, I want allow max file size of 50MB, after searching a bit I came across this acceptable answer
I know, the question can be termed duplicate. But, the thing is when I tried this piece of code locally it worked fine, but when I used it on my staging servers I started getting 413 error saying Request entity too large. It's a bit strange for a piece of code to behave so different.