Just to clarify your suggestion In [100]: isinstance(x, CFT) Out[100]: False
In [101]: isinstance(x, CFI) Out[101]: False In [105]: isinstance(e, CF) Out[105]: True This is not what I am looking for. I want to know to what class the CF primary key points to. So if it's CFT or CFI -- 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.