File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -103,4 +103,5 @@ that much better:
103103 * Greg Banks
104104 * swashbuckler
105105 * Adam Reeve
106- * Anthony Nemitz
106+ * Anthony Nemitz
107+ * deignacio
Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ Changelog
44
55Changes in 0.6.X
66================
7+ - FileField now automatically delete files on .delete()
8+ - Fix for GenericReference to_mongo method
79- Fixed connection regression
810- Django User document allows inheritance
911
Original file line number Diff line number Diff line change @@ -68,10 +68,9 @@ Deleting stored files is achieved with the :func:`delete` method::
6868.. note ::
6969
7070 The FileField in a Document actually only stores the ID of a file in a
71- separate GridFS collection. This means that deleting a document
72- with a defined FileField does not actually delete the file. You must be
73- careful to delete any files in a Document as above before deleting the
74- Document itself.
71+ separate GridFS collection. This means that `Animal.drop_collection() ` will
72+ not delete any files. Care should be taken to manually remove associated
73+ files before dropping a collection.
7574
7675
7776Replacing files
You can’t perform that action at this time.
0 commit comments