I am using mongoengine to insert images in mongodb's GridFS. Insert everything is ok, but I now want to delete, and I'm not getting. I am using version 0.8.2 and I'm mongoengine to do so:
class Animal(Document): genus = StringField() family = StringField() photo = FileField() marmot = Animal(genus='Marmota') marmot.photo.delete() Only he did not delete anything or gives error. What am I doing wrong? Someone can help me? -- 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.