> Ram-
>
> I believe that
>
> User.objects.filter(related__name__starts_with='A')
>
> would get you what you're looking for, per the example at 
> <http://www.djangoproject.com/documentation/models/many_to_many/> starting
> with block "# We can perform kwarg queries across m2m relationships".

Thanks Williams.:)
My problem is solved.

-Ram


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to