Very nice!

This works:
div_list =
Division.objects.filter(county__activecounties__active=True,county__activecounties__office=office,active=True)

Although I am glad to have my manual query function working (I'm sure
I'll need it later), it is really nice to know django can handle the
relationship on its own.

Thanks!


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