Skip to content

Commit

Permalink
Removed remaining reference to __unicode__.
Browse files Browse the repository at this point in the history
  • Loading branch information
charettes committed May 9, 2020
1 parent d6c816c commit 5f40923
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Expand Up @@ -38,7 +38,7 @@ Subclass ``PolymorphicModel``, an abstract model class.
class Animal(PolymorphicModel):
name = models.CharField(max_length=255)

def __unicode__(self):
def __str__(self):
return self.name

class Mammal(Animal):
Expand Down

0 comments on commit 5f40923

Please sign in to comment.