parent
95e7397803
commit
97c5b957dd
3 changed files with 7 additions and 5 deletions
|
|
@ -68,10 +68,9 @@ Deleting stored files is achieved with the :func:`delete` method::
|
|||
.. note::
|
||||
|
||||
The FileField in a Document actually only stores the ID of a file in a
|
||||
separate GridFS collection. This means that deleting a document
|
||||
with a defined FileField does not actually delete the file. You must be
|
||||
careful to delete any files in a Document as above before deleting the
|
||||
Document itself.
|
||||
separate GridFS collection. This means that `Animal.drop_collection()` will
|
||||
not delete any files. Care should be taken to manually remove associated
|
||||
files before dropping a collection.
|
||||
|
||||
|
||||
Replacing files
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue