def get_fields(model):
    opts = model._meta
    if VERSION < (1, 8):
        return opts.get_all_field_names()
    else:
        return set(field.name for field in opts.get_fields())
Remove class from the list
dataset/ETHPy150Open django-money/django-money/djmoney/_compat.py/get_fields--crossover with--dataset/ETHPy150Open nasa/CrisisMappingToolkit/cmt/util/production_gui.py/FeatureTrainerWindow._deleteClass