Generic unicode updates

This commit is contained in:
Magnus Hagander
2019-01-19 19:48:47 +01:00
parent 7547b6f766
commit a156829375
28 changed files with 62 additions and 62 deletions

View File

@ -7,7 +7,7 @@ class CommunityAuthOrg(models.Model):
help_text="Name of the organisation")
require_consent = models.BooleanField(null=False, blank=False, default=True)
def __unicode__(self):
def __str__(self):
return self.orgname
@ -22,7 +22,7 @@ class CommunityAuthSite(models.Model):
cooloff_hours = models.IntegerField(null=False, blank=False, default=0,
help_text="Number of hours a user must have existed in the systems before allowed to log in to this site")
def __unicode__(self):
def __str__(self):
return self.name