Hello

Can/does select_related traverse models in other installed apps? and
if not, can it be?

I have the following

app1
class company
no FKs

class person
FK to company

app2
class purchase
FK to person

I can access both company and person rendering like this in my
template:

company.person_set.all

But I cannot see how I can access (what I assume the syntax would be):
company.purchase_set.all

Thanks for any assistance.

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to