hi all it does not seem to be possible to filter on the return value of a model's method, or is it? are there alternative ways to achieve this?
my situation is as follows: there is a model with several child models (via model inheritance). i want to retrieve in a single query set all instances (from a parent/children tree) which match certain criteria using filter. however, depending on the child model, the criteria vary. i tried to add a method to the top-level model that is overridden in the inherited models in order to return the proper boolean value. but using this method in a filter does not work. any ideas? thanks a lot for your help André using trunk 8004, full code is here<http://code.google.com/p/pastiche/source/browse> . --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---