Answers for "Django less than and greater than"

0

Django less than and greater than

# Less than or equal:
User.objects.filter(userprofile__level__lte=0)

#Greater than or equal:
User.objects.filter(userprofile__level__gte=0)
Posted by: Guest on July-01-2021

Code answers related to "Django less than and greater than"

Python Answers by Framework

Browse Popular Code Answers by Language