From 51c9129fecae93a746338ef64f97ef0704e257c4 Mon Sep 17 00:00:00 2001 From: Marnanel Thurman Date: Sun, 2 Sep 2018 22:09:26 +0100 Subject: [PATCH] Actor.__str__ uses self to access member variables. Silly mistake. Version number bump. --- django_kepi/__init__.py | 2 +- django_kepi/models.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/django_kepi/__init__.py b/django_kepi/__init__.py index caf03e7..db56aaa 100644 --- a/django_kepi/__init__.py +++ b/django_kepi/__init__.py @@ -1,5 +1,5 @@ __title__ = 'django_kepi' -__version__ = '0.0.15' +__version__ = '0.0.16' VERSION = __version__ __author__ = 'Marnanel Thurman' __license__ = 'GPL-2' diff --git a/django_kepi/models.py b/django_kepi/models.py index 1000cb5..b3de1aa 100644 --- a/django_kepi/models.py +++ b/django_kepi/models.py @@ -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) ###############################