fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
907aba8
)
Don't hide the recommended collections.
author
Radek Czajka
<rczajka@rczajka.pl>
Fri, 18 Sep 2020 13:37:25 +0000
(15:37 +0200)
committer
Radek Czajka
<rczajka@rczajka.pl>
Fri, 18 Sep 2020 13:37:25 +0000
(15:37 +0200)
src/catalogue/views.py
patch
|
blob
|
history
diff --git
a/src/catalogue/views.py
b/src/catalogue/views.py
index
ef2527b
..
aeed403
100644
(file)
--- a/
src/catalogue/views.py
+++ b/
src/catalogue/views.py
@@
-449,7
+449,7
@@
def tag_catalogue(request, category):
def collections(request):
- objects = Collection.objects.
filter(role=''
)
+ objects = Collection.objects.
all(
)
if len(objects) > 3:
best = random.sample(list(objects), 3)