Correct py3 __str__ support.

Change slugify package for py3
This commit is contained in:
Adarnof
2017-09-30 18:38:05 -04:00
parent 0cdc5ffbd5
commit 0145ea82c8
3 changed files with 4 additions and 5 deletions

View File

@@ -36,5 +36,5 @@ class Fat(models.Model):
unique_together = (('character', 'fatlink'),)
def __str__(self):
output = "Fat-link for %s" % self.character.character_name
return output.encode('utf-8')
return "Fat-link for %s" % self.character.character_name