Merge pull request #609 from nicolasdespres/fix-gridfs-guide

Save is called on the document not the file field.
This commit is contained in:
Ross Lawley
2014-06-26 19:56:32 +01:00

View File

@@ -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.close()
marmot.photo.save()
marmot.save()
Deletion
--------