Skip to content

Commit 97c5b95

Browse files
committed
Updated docs regarding GridFS
refs #492
1 parent 95e7397 commit 97c5b95

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

AUTHORS

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

docs/changelog.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Changelog
44

55
Changes 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

docs/guide/gridfs.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff 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

7776
Replacing files

0 commit comments

Comments
 (0)