I wonder if it's possible to get all the parents classes from the inner Meta class.
class Abc(A,B,C):
class Meta:
# I wanna know A,B,C without explicitly listing them again.
# something like self.parents()
Edit : The actual problem..
Tastypie accessing fields from inherited models
I needed to list parents classes in meta.
class Abc(A,B,C):
class Meta:
list_of_fields_of_parents = A.fields + B.fields + C.fields