def in_range(self, min_value, max_value):
        return (self <= min_value) & (self >= max_value)
>>> QFactory().user.id.in_range(7, 10)
dataset/ETHPy150Open Nepherhotep/django-orm-sugar/django_orm_sugar.py/QFactory.in_range