fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Connect date in 2021 template.
[wolnelektury.git]
/
src
/
catalogue
/
api
/
views.py
diff --git
a/src/catalogue/api/views.py
b/src/catalogue/api/views.py
index
bcfe0ad
..
885df24
100644
(file)
--- a/
src/catalogue/api/views.py
+++ b/
src/catalogue/api/views.py
@@
-27,7
+27,7
@@
book_tag_categories = ['author', 'epoch', 'kind', 'genre']
class CollectionList(ListAPIView):
- queryset = Collection.objects.
all(
)
+ queryset = Collection.objects.
filter(listed=True
)
serializer_class = serializers.CollectionListSerializer