Hi I have a problem that is how to delete a file from GridFS by its id. I am using django and mongoengine. To delete files of a certain record I'm doing this:
*marmot = Animal.objects.get(id='51c80fb28774a715dc0481ae')* *marmot.photo.delete()* Now just to delete a file by its id, was trying like this: *marmot = Animal.objects.get(id='51c86ae18774a70fec1a9fb7')* *marmot.photo(id='51c86ae18774a70fec1a9fb5').delete()* But it gives me the following error: *'GridFSProxy' object is not callable* Someone can help me? What am I doing wrong? -- 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 django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. For more options, visit https://groups.google.com/groups/opt_out.