mirror of https://gitlab.com/tildes/tildes.git
Browse Source
Refactor tag list columns to use TypeDecorator
Refactor tag list columns to use TypeDecorator
I've always been pretty unhappy with the ugly way tags were implemented, using @hybrid_property and needing to do strange things all over the place to deal with converting underscores to spaces and vice versa, as well as other idiosyncracies. There are still a few oddities here and there, but overall this is much better.merge-requests/85/head
Deimos
5 years ago
12 changed files with 62 additions and 92 deletions
-
4tildes/scripts/clean_private_data.py
-
9tildes/scripts/update_groups_common_topic_tags.py
-
6tildes/tests/test_topic_tags.py
-
18tildes/tildes/lib/database.py
-
15tildes/tildes/models/group/group.py
-
38tildes/tildes/models/topic/topic.py
-
5tildes/tildes/models/topic/topic_query.py
-
9tildes/tildes/models/topic/topic_schedule.py
-
16tildes/tildes/models/user/user.py
-
21tildes/tildes/schemas/topic.py
-
2tildes/tildes/templates/includes/topic_tags.jinja2
-
11tildes/tildes/views/topic.py
Write
Preview
Loading…
Cancel
Save
Reference in new issue