I.e. we have
class Place(models.Model):...
class Restaurant(Place):...
class Cafe(Place):...
I'd like to query Place
somehow:
q = Place.objects.all() # how?
but for q[x]
i'd like to have not Place
class instance, but Restaurant
or Cafe
instead (what are really stored), so I'll be able to call some polymorphic methods of the models classes. Possible?