Drop py2 support

This commit is contained in:
Martin Pépin 2018-01-04 23:35:15 +01:00
parent 63225d68d6
commit 28b38577fc

View file

@ -19,9 +19,6 @@ class ErnestoUser(models.Model):
verbose_name = "Profil Ernestophoniste" verbose_name = "Profil Ernestophoniste"
verbose_name_plural = "Profil Ernestophoniste" verbose_name_plural = "Profil Ernestophoniste"
def __unicode__(self):
return unicode(self.user.username)
def __str__(self): def __str__(self):
return self.user.username return self.user.username
# Create your models here. # Create your models here.