> I've been hacking some filtering for related managers, have a look at
> the BoxManager 
> here:http://django-pm.googlecode.com/svn/trunk/myproject/pm/models.py

Thanks for food for thoughts. Looking at your code got me thinking and
in the end my problem was really simple. I was using the examples in
the documentation a bit too literarily and tried:

def get_query_set(self):
        return super(MaleManager,
self).get_query_set().filter(sex='M')

while I shouldn't use super but just self.get_query_set() which
returns the filtered set.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to