I've a Django model with a DecimalField.
class SomeModel(models.Model):
decimal_field = models.DecimalField()
I'd like to get all model instances which have a field value in the range of e.g. 5.0 and 10.0. I've read the Django docs section about queries but I did not find a solution. How do I have to write the query SomeModel.objects.filter(?) ?