I'm confused on what part of the docs I'm supposed to reference:
* http://www.djangoproject.com/documentation/db-api/



I'm pulling all events for a city:

events = Event.objects.filter(city=city)

Each event can have a set of attractions like food, dancing, drama,
djs, live music, art, etc.

How do I query the list of attractions for events in that city? (Query
all attractions that are tied to events in that city)



For example, Houston might have rodeo attractions, but Pittsburgh
might not. On the Houston page, I'd like the attractions list to
include rodeo. On the Pittsburgh page, I don't want to see it.

Seems easy, but I'm missing something. Pointers to the proper docs
appreciated.



Thanks,
--
Austin Govella
--~--~---------~--~----~------------~-------~--~----~
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