We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86b57e1 commit 95c8e7bCopy full SHA for 95c8e7b
django_mongodb_engine/fields.py
@@ -38,10 +38,10 @@ class GridFSField(models.Field):
38
:param delete:
39
Whether to delete the data stored in the GridFS (as GridFS files) when
40
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.
+
+ Note that this doesn't have any influence on what happens if you update
+ the blob value by assigning a new file, in which case the old file is
+ always deleted.
45
"""
46
forbids_updates = True
47
0 commit comments