#24342: Add EnumField model/form fields
-------------------------------------+-------------------------------------
     Reporter:  Thomas Stephenson    |                    Owner:  nobody
         Type:  New feature          |                   Status:  new
    Component:  Database layer       |                  Version:  dev
  (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
-------------------------------------+-------------------------------------
Comment (by Brian Kohan):

 [https://github.com/bckohan/django-enum] basically does this. The only
 thing missing is using a native database enum type - adding that support
 is on my roadmap though. I looked into it briefly and adding native
 support is complicated by two things: 1) sqlite does not have enum types
 and 2) postgres requires the types to be created independently of the
 column and it seemed awkward to hook this into the database migration
 code.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/24342#comment:40>
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 view this discussion visit 
https://groups.google.com/d/msgid/django-updates/010701961282d6c4-a7f1581b-9fd3-4a60-af0e-55f291d97dde-000000%40eu-central-1.amazonses.com.

Reply via email to