large uploaded files cause a slow browser death in debug view
|Reported by:||eibaan@…||Owned by:||adrian|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||yes|
The Django debug HTML page is great for finding bugs in templates and view functions. However, if you have an error in a view function with a request object that contains a - say - 200MB file object, well, then your browser dies a slow and painful death. At least my trusted Firefox does.
I've created a patch to suppress the file object in the debug view. There might be better ways to do this, I'm a Python beginner. This is the shortest and less intrusive way I could come up with.
Change History (3)
Changed 8 years ago by eibaan@…
comment:1 Changed 8 years ago by Simon G. <dev@…>
- Needs documentation unset
- Needs tests unset
- Patch needs improvement set
- Triage Stage changed from Unreviewed to Ready for checkin