fnp
/
wolnelektury.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
d1cee50451751aa842cf1735bf7f435451c922f6
[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