summaryrefslogtreecommitdiff
path: root/django/db/models/enums.py
Commit message (Expand)AuthorAgeFilesLines
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-8/+9
* Refs #32074 -- Used Enum.repr() format proposed for Python 3.10.Mariusz Felisiak2021-07-121-5/+3
* Refs #32074 -- Backported Enum.__repr__() from Python 3.10.Mariusz Felisiak2021-04-071-0/+6
* Fixed #32460 -- Allowed "label"/"do_not_call_in_templates" members in model c...Nick Pope2021-03-241-6/+11
* Refs #32074 -- Fixed TextChoices/IntegerChoices crash on Python 3.10.Mariusz Felisiak2021-02-041-2/+2
* Fixed #31154 -- Added support for using enumeration types in templates.Adam Johnson2020-01-101-0/+1
* Optimized containment check in ChoicesMeta.Ram Rachum2019-12-161-1/+1
* Fixed #30902 -- Added __str__() for model choice enums.Carlton Gibson2019-10-251-1/+7
* Fixed #27910 -- Added enumeration helpers for use in Field.choices.Shai Berger2019-09-041-0/+75