mrjoes/flask-admin — pull request #370 by mdanieli (2013-11-13 09:56:15+00:00)
Title: Fix counterintuitive editing of MongoDB Documents with ImageField

When you modify a MongoEngine `Document` with an `ImageField` and no new image is submitted, a `ValidationError` is raised complaining that the image format isn't recognised. This forces to upload the image again whenever modifying the Document. My changes check that a new image file has been submitted before attempting at replacing the old image.