Re: Retrieving images from GridFS using django-tastypie-mongoengine

2013-05-16 Thread Hélio Miranda
But then so was not save in mongodb but in a folder on the server right? And then as these associated files to records that are in mongodb? And I'm not using Models, I am using as mongoengine: *class Movie(mongoengine.Document):* *MovieTitle = StringField(max_length=100, required=False)* *

Re: Retrieving images from GridFS using django-tastypie-mongoengine

2013-05-16 Thread Hélio Miranda
But then so was not save in mongodb but in a folder on the server right? And then as these associated files to records that are in mongodb? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails

Re: Retrieving images from GridFS using django-tastypie-mongoengine

2013-05-15 Thread Ryan Nowakowski
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 def

Re: Retrieving images from GridFS using django-tastypie-mongoengine

2013-05-09 Thread Hélio Miranda
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? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving e

Re: Retrieving images from GridFS using django-tastypie-mongoengine

2013-05-08 Thread Ryan Nowakowski
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 dj