2 ms·
Something like including this in core: https://github.com/zacharyvoase/django-qmethod https://github.com/zacharyvoase/django-qmethod The idea that if I want to
by famousactress 14y ago
Something like including this in core: https://github.com/zacharyvoase/django-qmethod https://github.com/zacharyvoase/django-qmethod
The idea that if I want to do either:
People.objects.short().blonde()
People.objects.blonde().short()
... I need to implement short() and blonde() on Manager and QuerySet classes for the model. Creating chained query filters like this ought to be easier, and encouraged IMHO.