python3: rename __unicode__ to __str__ (#56929)
This commit is contained in:
parent
b2cd707fa7
commit
1458d01fcd
|
@ -47,7 +47,7 @@ class CommonSchema(models.Model):
|
|||
verbose_name=_('caption template'),
|
||||
blank=True)
|
||||
|
||||
def __unicode__(self):
|
||||
def __str__(self):
|
||||
return self.name
|
||||
|
||||
def natural_key(self):
|
||||
|
|
Loading…
Reference in New Issue