--
Ticket URL: <https://code.djangoproject.com/ticket/25764>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => assigned
* needs_docs: => 0
* needs_tests: => 0
* needs_better_patch: => 0
Old description:
> Allow serialization of native enum and using it in field arguments incl.
> default and choices.
New description:
Allow serialization of native enum and using it in field arguments incl.
default and choices.
https://github.com/django/django/pull/5672
--
--
Ticket URL: <https://code.djangoproject.com/ticket/25764#comment:1>
* stage: Unreviewed => Accepted
Comment:
By the way, there's a ticket about adding a native `EnumField` (#24342).
--
Ticket URL: <https://code.djangoproject.com/ticket/25764#comment:2>
Comment (by andreif):
Ah, cool, we are actually working on a similar thing with a huge help by
@fcurella https://github.com/5monkeys/django-enumfield/pull/26
--
Ticket URL: <https://code.djangoproject.com/ticket/25764#comment:3>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"998894e1b9f5a8715f4cac5f6201b5e9ac80510c" 998894e]:
{{{
#!CommitTicketReference repository=""
revision="998894e1b9f5a8715f4cac5f6201b5e9ac80510c"
Fixed #25764 -- Added support for serialization of enum.Enum in
migrations.
Thanks Tim Graham for the review.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/25764#comment:4>