Actor.__str__ uses self to access member variables. Silly mistake.

Version number bump.
thingy_objects
Marnanel Thurman 2018-09-02 22:09:26 +01:00
rodzic e6346ddcda
commit 51c9129fec
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -1,5 +1,5 @@
__title__ = 'django_kepi'
__version__ = '0.0.15'
__version__ = '0.0.16'
VERSION = __version__
__author__ = 'Marnanel Thurman'
__license__ = 'GPL-2'

Wyświetl plik

@ -319,7 +319,7 @@ class Actor(models.Model):
url = models.URLField(max_length=256)
def __str__(self):
return '[Actor {}]'.format(url)
return '[Actor {}]'.format(self.url)
###############################