# Django-enum-choices, is there a way I could make enum field for enum field?

**URL:** <https://forum.djangoproject.com/t/django-enum-choices-is-there-a-way-i-could-make-enum-field-for-enum-field/21185>\
**Category:** Forms & APIs\
**Created:** [May 26, 2023, 1:00pm UTC](https://forum.djangoproject.com/t/django-enum-choices-is-there-a-way-i-could-make-enum-field-for-enum-field/21185 "2023-05-26T13:00:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ceh9N](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/ceh9n/32/13904_2.png) [@Ceh9N](https://forum.djangoproject.com/u/Ceh9N)\
**Post date:** [May 26, 2023, 1:00pm UTC](https://forum.djangoproject.com/t/django-enum-choices-is-there-a-way-i-could-make-enum-field-for-enum-field/21185/1 "2023-05-26T13:00:18Z")

</div>

Hi everyone, maybe somebody know answer to my question. I`m trying to make enum fields to my models, and got a troubleshooting thing, is there a way I could make enum like that:

```auto
from enum import Enum
from django.db import models
from django_enum_choices.fields import EnumChoiceField

class OrderReceivedEnum(Enum):
    SATISFIED = 'satisfied'
    CLAIMED = 'claimed'

class OrderStateEnum(Enum):
    DRAFT = 'draft'
    SENT = 'sent'
    CONFIRMED = 'confirmed'
    RECEIVED = OrderReceivedEnum
    INVOICE_MATCHING = 'invoice matching'
    COMPLETE = 'complete'
    CANCELED = 'canceled'

class OrderStates(models.Model):
    state = EnumChoiceField(OrderStateEnum, default=OrderStateEnum.RECEIVED.SATISFIED)

```

I would by glad for any help in this question, ths !
