Is there, in Django, a standard way to write complex, custom filters for QuerySets?
Just as I can write
MyClass.objects.all().filter(field=val) <
MyClass.objects.all().filter(field=val)
I think you may need custom managers.