class ParentClass(model.Models):
...
class ChildClass(ParentClass):
...
return [(obj._meta.get_field(field.name)) for field in obj._meta.fields]
def get_only_child_fields(obj):
allfields = [(field.name) for field in obj._meta.fields]
parentfields = [(field.name) for field in Product._meta.fields]
return [f for f in allfields if f not in parentfields]