hi all is it possible to determine the subclass of a model instance?
what i mean is this: if you have a (n abstract) model class and two subclasses, like class Item(models.Model): pass class Task(Item): pass class Event(Item): pass and you retrieve items = Item.objects.all() how can you know whether the items are either tasks or events? items[0].__class__ returns just <class 'proj.app.models.Item'>. thanks for sharing your insights regards André --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---