FileField files can't be opened in write mode if not closed before
|Reported by:||Jonas H.||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||yes||Patch needs improvement:||no|
File associated with a
FileField in a model object fetched from the db can't be opened in non-read mode. Test case and patch attached.