Moved README file to top directory.
[wolnelektury.git] / apps / catalogue / utils.py
1 # -*- coding: utf-8 -*-
2
3
4 def split_tags(tags):
5     result = {}
6     for tag in tags:
7         result.setdefault(tag.category, []).append(tag)
8     return result
9