kopia lustrzana https://gitlab.com/marnanel/chapeau
Actor.__str__ uses self to access member variables. Silly mistake.
Version number bump.thingy_objects
rodzic
e6346ddcda
commit
51c9129fec
|
@ -1,5 +1,5 @@
|
|||
__title__ = 'django_kepi'
|
||||
__version__ = '0.0.15'
|
||||
__version__ = '0.0.16'
|
||||
VERSION = __version__
|
||||
__author__ = 'Marnanel Thurman'
|
||||
__license__ = 'GPL-2'
|
||||
|
|
|
@ -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)
|
||||
|
||||
###############################
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue