django get all model fields

Solutions on MaxInterview for django get all model fields by the best coders in the world

showing results for - "django get all model fields"
Kevin
21 Jul 2020
1def get_model_fields(model):
2    return model._meta.fields
3