fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hide "(none)"
[wolnelektury.git]
/
src
/
social
/
templatetags
/
social_tags.py
diff --git
a/src/social/templatetags/social_tags.py
b/src/social/templatetags/social_tags.py
index
4cc6215
..
ce61985
100755
(executable)
--- 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)