Merge pull request #186 from kuno/master
fixed import path typo in django document
This commit is contained in:
commit
1ee50922d9
@ -52,7 +52,7 @@ it is useful to have a Django file storage backend that wraps this. The new
|
|||||||
storage module is called :class:`~mongoengine.django.GridFSStorage`. Using it
|
storage module is called :class:`~mongoengine.django.GridFSStorage`. Using it
|
||||||
is very similar to using the default FileSystemStorage.::
|
is very similar to using the default FileSystemStorage.::
|
||||||
|
|
||||||
fs = mongoengine.django.GridFSStorage()
|
fs = mongoengine.django.storage.GridFSStorage()
|
||||||
|
|
||||||
filename = fs.save('hello.txt', 'Hello, World!')
|
filename = fs.save('hello.txt', 'Hello, World!')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user