Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/d/j/django-choices-flow-HEAD/django_choices_flow/models_test.py   django-choices-flow(Download)
from django.db import models
from django_choices_flow import Choices
from django_choices_flow.models import FlowIntegerField, FlowCharField
 
 
class MyIntegerInvoide(models.Model):
    status = FlowIntegerField(choices=IntegerChoices, default=IntegerChoices.NEW, db_index=True)
    number = models.IntegerField()