2👍
✅
Try unpack query_list
when passing it to Case
with *
syntax:
Case(*query_list, default=F('number')
Source:stackexchange.com