hmarr/mongoengine — pull request #492 by deignacio (2012-05-05 05:36:41+00:00)
Title: Cleanup referenced GridFS files when a document is deleted

Note that drop_collection is not modified since there is no
guarantee that a GridFS collection holds files for only one
Document class. Otherwise you could drop files for other fields
or documents accidentally.