From: Radek Czajka Date: Thu, 27 Mar 2014 14:42:37 +0000 (+0100) Subject: Bugfix. X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/342d7985a8765b226a416585a3cc01cecff9a394 Bugfix. --- diff --git a/apps/catalogue/templatetags/wall.py b/apps/catalogue/templatetags/wall.py index e12a313d..112b4f40 100755 --- a/apps/catalogue/templatetags/wall.py +++ b/apps/catalogue/templatetags/wall.py @@ -127,9 +127,9 @@ def image_published_wall(user=None, max_len=None, day=None): for item in qs: w = WallItem('publish') w.header = _('Publication') - w.title = item.book.title + w.title = item.image.title w.timestamp = item.timestamp - w.url = item.book.get_absolute_url() + w.url = item.image.get_absolute_url() w.user = item.user w.email = item.user.email yield w