+ return redirect('tagged_object_list_gallery', raw_tags)
+
+ # this is becoming more and more hacky
+ if list_type == 'books' and not tags:
+ last_published = Book.objects.exclude(cover_thumb='').filter(parent=None).order_by('-created_at')[:20]
+ most_popular = Book.objects.exclude(cover_thumb='').order_by('-popularity__count')[:20]
+ else:
+ last_published = None
+ most_popular = None