Don't hide the recommended collections.
authorRadek Czajka <rczajka@rczajka.pl>
Fri, 18 Sep 2020 13:37:25 +0000 (15:37 +0200)
committerRadek Czajka <rczajka@rczajka.pl>
Fri, 18 Sep 2020 13:37:25 +0000 (15:37 +0200)
src/catalogue/views.py

index ef2527b..aeed403 100644 (file)
@@ -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)