I'm writing a few generic views, in particular a search view.

It might not know the model that it is working with, so... is there a
way to determine if one model is related to another?

for instance:

model1.isRelated(model2)

when i say "is related" i mean that either it has a foreign key to
that model or vice versa
--~--~---------~--~----~------------~-------~--~----~
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