Hi,
My message seems to have been deleted (I have just wrote it, I don't
understand!)
So, I want to do this, but I can't find it in Django :
Here is MyClass
MyClass :
def __init__(self) :
...
...
def similarity_to(self, other_object) :
return integer
I want to tell in my view something like :
MyClass.objects.filter ( similarity_to(some_object) > 0 )
Is it possible in Django to call methods in "filter"?
Thx!
Arbi
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---