Using some variable in Django CASE WHEN condition

前端 未结 0 1677
伪装坚强ぢ
伪装坚强ぢ 2020-12-11 22:14

I am having something like:

value = Func(Now(), F(\'reg_date\'), function=\'DATEDIFF\') # days since registration
exp = Case(
    When(value__gt=150, then=Val         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题