Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Something like including this in core: 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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: