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
My app misses the user.inbox.new() feature, i will add it soon. :) On Nov 16, 2:18 pm, "Tomi Pieviläinen" <[EMAIL PROTECTED]> wrote: > Hi group, > > Is it possible to have custom filtering methods for MTMManagers? More > precisely I'd like to be able to use user.received_messages.new in my > templates. I can define a custom manager for my Message model with a > custom new method, but unfortunately this returns all new messages in > the system, not just the ones that belong to current user even if I > use it through the MTMManager. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---

