Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 django 中如何使用函数objects.filter中val_min val_max的计算结果
objects.filter
val_min
val_max
但没有记录在数据库中?
可能吗 ?
例子 :
liste= Temperature.objects.filter(val_champ__icontains = val_TT, val_max__lte=val_max, val_min__gte=val_min).order_by('name')
您可能正在寻找__range运算符