📜  Django 小于和大于 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:16.093000             🧑  作者: Mango

代码示例1
# Less than or equal:
User.objects.filter(userprofile__level__lte=0)

#Greater than or equal:
User.objects.filter(userprofile__level__gte=0)