Closed john-parton closed 1 month ago
Allow CharField(choices=...) to be a TextChoices class.
Changed in Django 5.0, see note here: https://docs.djangoproject.com/en/5.0/ref/models/fields/#s-enumeration-types
Thanks!
Allow CharField(choices=...) to be a TextChoices class.
Changed in Django 5.0, see note here: https://docs.djangoproject.com/en/5.0/ref/models/fields/#s-enumeration-types