Hello!

I am trying to get a list of "Projects" based on certain "Industry".
(My naming convention, not django's)

My models look like this:
http://dpaste.com/114308/

"Project" has a foreign key to "Campaign".

"Industry" also has a foreign key to "Campaign".

Does it matter if both relationships are pointing to the center model
in the data route I am trying to setup?  Like this:

Project -> Campaign <- Industry

If Industry = 3, and a handful of Campaigns are returned, I would like
a list of all the Projects contained in each of the Campaigns
returned.

How do I do this with django models?

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