Opened 9 years ago
Closed 9 years ago
#25764 closed New feature (fixed)
Support serialization of enum.Enum instances in migrations
Reported by: | Andrei Fokau | Owned by: | Andrei Fokau |
---|---|---|---|
Component: | Migrations | Version: | dev |
Severity: | Normal | Keywords: | migrations, serialization, enum |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
Allow serialization of native enum and using it in field arguments incl. default and choices.
Change History (4)
comment:1 by , 9 years ago
Description: | modified (diff) |
---|---|
Status: | new → assigned |
comment:2 by , 9 years ago
Summary: | Support serialization of enum.Enum instances → Support serialization of enum.Enum instances in migrations |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:3 by , 9 years ago
Ah, cool, we are actually working on a similar thing with a huge help by @fcurella https://github.com/5monkeys/django-enumfield/pull/26
Note:
See TracTickets
for help on using tickets.
By the way, there's a ticket about adding a native
EnumField
(#24342).