2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-15 22:47:10 +00:00

__unicode__ to __str__ 2to3 conversion

This commit is contained in:
Philip Sargent
2020-05-26 02:21:36 +01:00
parent f4099c6929
commit 8b74ff4bb6
4 changed files with 28 additions and 25 deletions

View File

@@ -8,5 +8,5 @@ class Redirect(models.Model):
class EntranceRedirect(models.Model):
originalURL = models.CharField(max_length=200)
entrance = models.ForeignKey(Entrance)
def __unicode__(self):
def __str__(self):
return self.entrance.slug