Skip to content

Need to Catch KeyError in to_python #1

@lambacck

Description

@lambacck

https://github.com/tindie/django-tidyenum/blob/master/tidyenum/fields.py#L65

Should also catch KeyError so that non-enum values that come back from the database don't cause errors.

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