def delete(self):
        self.__class__.objects.filter(pk=self.pk).delete()
Create base class for defining new database classes.
dataset/ETHPy150Open tabo/django-treebeard/treebeard/models.py/Node.delete--crossover with--dataset/ETHPy150Open mogui/pyorient/pyorient/ogm/declarative.py/declarative_base