On 05/06/2011 03:32 PM, pbzRPA wrote:
I now the isinstance function but that will return the CF class. I
want to know the child class of CF for that specific primary key.


The isinstance function doesn't return a class. It returns a boolean, based on the class(es) you are inquiring about.

You could also try these:

    instance._meta.module_name

    instance._meta.db_table

These only return strings, but they'll get you the info you're looking for.


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