Remove unused __unicode__ method (dead code).

This commit is contained in:
Lucas Wiman 2018-07-02 11:52:05 -07:00
parent 954624cb22
commit 679aed41a2

View file

@ -38,9 +38,6 @@ class InheritanceManagerTestParent(models.Model):
on_delete=models.CASCADE)
objects = InheritanceManager()
def __unicode__(self):
return unicode(self.pk)
def __str__(self):
return "%s(%s)" % (
self.__class__.__name__[len('InheritanceManagerTest'):],