X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/dbb1ae2cf25105f7a3831961b08386a1326baef8..dfd584e3b136d770bf56569030d10712a8722569:/apps/funding/models.py diff --git a/apps/funding/models.py b/apps/funding/models.py index 800a15a3c..a9c3d8724 100644 --- a/apps/funding/models.py +++ b/apps/funding/models.py @@ -13,7 +13,7 @@ from django.utils.timezone import utc from django.utils.translation import ugettext_lazy as _, override import getpaid from catalogue.models import Book -from catalogue.utils import get_random_hash, related_tag_name +from catalogue.utils import get_random_hash from polls.models import Poll from django.contrib.sites.models import Site from . import app_settings @@ -176,7 +176,7 @@ class Offer(models.Model): 'funding/email/published.txt', { 'offer': self, 'book': self.book, - 'author': ", ".join(related_tag_name(a) for a in self.book.related_info()['tags']['author']), + 'author': self.book.pretty_title(), 'current': self.current(), })