- tags = []
- for category in Catalogue.TAG_CATEGORIES:
- for tag in Tag.objects.filter(category=category):
- tags.append(("%s:%s" % (tag.category, tag.slug),
- tag.name,
- tag.description))
- return tags, None
+ raise error.NoSetHierarchyError("Wolne Lektury does not support sets.")
+ # tags = []
+ # for category in Catalogue.TAG_CATEGORIES:
+ # for tag in Tag.objects.filter(category=category):
+ # tags.append(("%s:%s" % (tag.category, tag.slug),
+ # tag.name,
+ # tag.description))
+ # return tags, None