per page, with , order by , clip by
Results of 1 - 2 of about 2 for James (0.003 sec.)
条件式 11228
条件式 Conditional expressions let you use if ... elif ... else logic within filters, annotations, aggregations, and updates. A conditional expression evaluates a series of conditions for each row of a table and returns the matching result ... REGULAR , ... registered_on = date . today () - timedelta ( days = 36 ), ... ) >>> Client . objects . create ( ... name = "James Smith" , ... account_type = Client . GOLD , ... registered_on = date . today () - timedelta ( days = 5 ), ... ) >>> Client ... 10%" )), ... default = Value ( "0%" ), ... ), ... ) . values_list ( "name" , "discount" ) <QuerySet [('Jane Doe', '0%'), ('James Smith', '5%'), ('Jack Black', '10%')]> Case() は任意の数の When() オブジェクトを引数として受け取ることができます。その他の ... "5%" )), ... default = Value ( "0%" ), ... ) ... ) . values_list ( "name" , "discount" ) <QuerySet [('Jane Doe', '5%'), ('James Smith', '0%'), ('Jack Black', '10%')]> 注釈 条件は順番に評価されるので、上の例では2番目の条件がJane DoeとJack Blackの両方に ...
https://man.mtool.work/django/6.1/ref/models/conditional-expressions.html
Django 0.96 リリースノート 7485
Django 0.96 リリースノート Django 0.96 へようこそ! The primary goal for 0.96 is a cleanup and stabilization of the features introduced in 0.95. There have been a few small backwards-incompatible changes since 0.95, but the upgrade process s ... innick for their major code contributions. This release wouldn't have been possible without them. Our new release manager, James Bennett, for his work in getting out 0.95.1, 0.96, and (hopefully) future release. Our ticket managers Chris Beaven (aka S ...
https://man.mtool.work/django/6.1/releases/0.96.html
PREV 1 NEXT