Skip to content

model.get_field_enum should return the human readable name of the choices #2021

@fredkingham

Description

@fredkingham

At present get_field_enum returns the database saved value in the model (ie the first element in the tuple). Change this to return the human readable part (ie the second(.

django docs for reference

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions