On Thu, May 09, 2013 at 01:50:18AM -0700, Hélio Miranda wrote:
> No, I'm not using GridFSStorage.
> 
> I was just using mongoengine, with FileField field.
> 
> To get the image have to use GridFSStorage?
> How to use it?
> 

GridFSStorage[1] is a Django storage backend[2].  You can override the
default storage backend for FileField[3] to use GridFSStorage[4] or set the
default storage for all FileFields to be GridFSStorage.

[1] http://docs.mongoengine.org/en/latest/django.html#storage
[2] https://docs.djangoproject.com/en/1.5/ref/files/storage/
[3] 
https://docs.djangoproject.com/en/dev/ref/models/fields/#django.db.models.FileField.storage
[4] https://docs.djangoproject.com/en/dev/topics/files/#file-storage

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to