RE: Custom managers in reverse relations

2012-01-14 Thread Kääriäinen Anssi
Just a quick thought: you should check out the work done for allowing use of manager methods in querysets (thread "RFC: query methods"). It seems that work does have some overlap with this feature. The patch for #3871 implements .manager('manager_name') for reverse relation managers, and there w

Re: Custom managers in reverse relations

2012-01-14 Thread Sebastian Goll
Hi all, My latest post to the list seems to have been lost in the pre-Christmas storm. Sorry for that! The issue of picking which custom manager is used in resolving reverse relations still stands. Let my give you an example why this is useful: {{{ class Reporter(models.Model): ... class A