#24342: Add EnumField model/form fields
-------------------------------------+-------------------------------------
Reporter: Thomas Stephenson | Owner: nobody
Type: New feature | Status: new
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Someday/Maybe
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Paolo Melchiorre):
* cc: Paolo Melchiorre (added)
Old description:
> Add support for an `EnumField` which is backed by the corresponding
> `enum` type if one exists in the database engine (eg. mysql, postgres),
> with a default implementation of CharField in other database types and
> mapped to instances of the `enum.Enum` (or `enum34.Enum` in python 2).
New description:
Add support for an `EnumField` which is backed by the corresponding `enum`
type if one exists in the database engine (eg. mysql, postgres), with a
default implementation of CharField in other database types and mapped to
instances of the `enum.Enum`.
--
--
Ticket URL: <https://code.djangoproject.com/ticket/24342#comment:28>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.29f1c3f04d7352743ea0fd642c858556%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.