Updated docs regarding GridFS

refs #492
This commit is contained in:
Ross Lawley 2012-05-09 11:39:30 +01:00
parent 95e7397803
commit 97c5b957dd
3 changed files with 7 additions and 5 deletions

View File

@ -104,3 +104,4 @@ that much better:
* swashbuckler * swashbuckler
* Adam Reeve * Adam Reeve
* Anthony Nemitz * Anthony Nemitz
* deignacio

View File

@ -4,6 +4,8 @@ Changelog
Changes in 0.6.X Changes in 0.6.X
================ ================
- FileField now automatically delete files on .delete()
- Fix for GenericReference to_mongo method
- Fixed connection regression - Fixed connection regression
- Django User document allows inheritance - Django User document allows inheritance

View File

@ -68,10 +68,9 @@ Deleting stored files is achieved with the :func:`delete` method::
.. note:: .. note::
The FileField in a Document actually only stores the ID of a file in a The FileField in a Document actually only stores the ID of a file in a
separate GridFS collection. This means that deleting a document separate GridFS collection. This means that `Animal.drop_collection()` will
with a defined FileField does not actually delete the file. You must be not delete any files. Care should be taken to manually remove associated
careful to delete any files in a Document as above before deleting the files before dropping a collection.
Document itself.
Replacing files Replacing files