fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove race condition in building ebooks.
[wolnelektury.git]
/
src
/
catalogue
/
views.py
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)