When hitting a problem with an upload the DEBUG screen will display full file contents
|Reported by:||asmodai@…||Owned by:||adrian|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Currently when you are testing file uploads and you hit a problem you will get a DEBUG screen which will have your FileField data in the debugging information. The only downside is that if you have a file of, say, 5 MB, the DEBUG screen will show all 5 MB of that data in the appropriate dict value for the FileField key.
This is not what you would want to see because it in general will slow your browser down considerably.
Perhaps this can be stripped/masked out before dumping into the DEBUG screen.