mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 12:30:15 +02:00
Correct py3 __str__ support.
Change slugify package for py3
This commit is contained in:
parent
0cdc5ffbd5
commit
0145ea82c8
@ -36,5 +36,5 @@ class Fat(models.Model):
|
|||||||
unique_together = (('character', 'fatlink'),)
|
unique_together = (('character', 'fatlink'),)
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
output = "Fat-link for %s" % self.character.character_name
|
return "Fat-link for %s" % self.character.character_name
|
||||||
return output.encode('utf-8')
|
|
||||||
|
@ -21,5 +21,4 @@ class optimer(models.Model):
|
|||||||
eve_character = models.ForeignKey(EveCharacter)
|
eve_character = models.ForeignKey(EveCharacter)
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
output = self.operation_name
|
return self.operation_name
|
||||||
return output.encode('utf-8')
|
|
||||||
|
@ -5,7 +5,7 @@ dnspython
|
|||||||
passlib
|
passlib
|
||||||
requests>=2.9.1
|
requests>=2.9.1
|
||||||
bcrypt
|
bcrypt
|
||||||
slugify
|
python-slugify>=1.2
|
||||||
requests-oauthlib
|
requests-oauthlib
|
||||||
sleekxmpp
|
sleekxmpp
|
||||||
redis
|
redis
|
||||||
|
Loading…
x
Reference in New Issue
Block a user