fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
4167e70
)
hide "(none)"
author
Jan Szejko
<janek37@gmail.com>
Thu, 5 Jul 2018 13:36:30 +0000
(15:36 +0200)
committer
Jan Szejko
<janek37@gmail.com>
Thu, 5 Jul 2018 13:36:30 +0000
(15:36 +0200)
src/social/templatetags/social_tags.py
patch
|
blob
|
history
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():
@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)
book = Book.objects.get(pk=book_id)
lks = likes(request.user, book, request)