From 342d7985a8765b226a416585a3cc01cecff9a394 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Thu, 27 Mar 2014 15:42:37 +0100 Subject: [PATCH] Bugfix. --- apps/catalogue/templatetags/wall.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.20.1