Merge pull request #609 from nicolasdespres/fix-gridfs-guide
Save is called on the document not the file field.
This commit is contained in:
commit
58607d4a7f
@ -46,7 +46,7 @@ slightly different manner. First, a new file must be created by calling the
|
|||||||
marmot.photo.write('some_more_image_data')
|
marmot.photo.write('some_more_image_data')
|
||||||
marmot.photo.close()
|
marmot.photo.close()
|
||||||
|
|
||||||
marmot.photo.save()
|
marmot.save()
|
||||||
|
|
||||||
Deletion
|
Deletion
|
||||||
--------
|
--------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user