Skip to content

Commit 95c8e7b

Browse files
committed
Fixed #64: Extended/updated GridFSField documentation.
1 parent 86b57e1 commit 95c8e7b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

django_mongodb_engine/fields.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ class GridFSField(models.Field):
3838
:param delete:
3939
Whether to delete the data stored in the GridFS (as GridFS files) when
4040
model instances are deleted (default: :const:`True`).
41-
:param versioning:
42-
Whether to keep old versions of the data when new data is written to the
43-
GridFS (default: :const:`False`).
44-
`delete` and `versioning` are mutually exclusive.
41+
42+
Note that this doesn't have any influence on what happens if you update
43+
the blob value by assigning a new file, in which case the old file is
44+
always deleted.
4545
"""
4646
forbids_updates = True
4747

0 commit comments

Comments
 (0)