3👍
✅
Your upload handler is returning a 500:
INFO:root:Upload handler returned 500
ERROR:root:Invalid upload handler response. Only 301, 302 and 303 statuses are permitted and it may not have a content body.
This is almost certainly because it’s throwing an exception; you need to persuade Django to log the exception so that you can see what’s going wrong. Alternately, catch it and log it yourself!
Source:stackexchange.com