I want to run a query like this:
select * from bbs_article a, bbs_article_tags a2, bbs_tag t where
t.id
= a2.tag_id and
a.id = a2.article_id order by (case when
t.name =
'notice' then '' else
t.name end)
which has a custom ordering rule.
As far as I know, Django model currently does not support such custom
orderings, but only field-based native orderings.
How do I use the above sql in most clear way (like using typical model
query with manually changed order clause), or is there any workaround
to do the same jobs?