From ef93835e5356373ea5190e070cce80d42df616b0 Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Thu, 5 Jul 2018 15:36:30 +0200 Subject: [PATCH 1/1] hide "(none)" --- src/social/templatetags/social_tags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/social/templatetags/social_tags.py b/src/social/templatetags/social_tags.py index 4cc621525..ce61985d2 100755 --- a/src/social/templatetags/social_tags.py +++ b/src/social/templatetags/social_tags.py @@ -34,7 +34,7 @@ def render_cite(cite): @ssi_variable(register, patch_response=[ssi_vary_on_cookie]) def book_shelf_tags(request, book_id): if not request.user.is_authenticated(): - return None + return '' book = Book.objects.get(pk=book_id) lks = likes(request.user, book, request) -- 2.20.1