On Wed, May 08, 2013 at 04:16:33AM -0700, Hélio Miranda wrote:
> I have a project in Django, and I'm using mongoengine to save images into a 
> Mongo database using GridFS.
> 
> All ok so far, but the problem is... when trying to retrieve the images via 
> http request, with a REST API made with django-tastypie-mongoengine, I get 
> back a json object like this:
> 
> {"file": "<GridFSProxy: 516ed7cf56ba7d01eb09f522>", "id": 
> "516ed7cf56ba7d01eb09f524", "resource_uri": 
> "/api/v1/movie/516ed7cf56ba7d01eb09f524/"}
> 
> Does anybody know how could I get the file from GridFS via http request?

Are you using mongoengine's GridFSStorage?

-- 
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