scoursen/django-softdelete — Issue #2: Typo in SoftDeleteObject.delete()
Author: jason0x43
Created: 2012-01-02 20:33:21+00:00
State: open

The field `objects_id` in the ChangeSet selector in SoftDelete.delete() should be `object_id` (singular).

```diff
@@ -136,7 +136,7 @@ class SoftDeleteObject(models.Model):
logging.debug("HARD DELETEING type %s, %s" % (type(self), self))
try:
cs = ChangeSet.objects.get(content_type=ContentType.objects.get_for_model(self),
- objects_id=self.pk)
+ object_id=self.pk)
cs.delete()
super(SoftDeleteObject, self).delete(*args, **kwargs)
except:
```