fixed import path typo in django documents
This commit is contained in:
parent
378b52321b
commit
d63bf0abde
@ -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