Fields for enum's, enumerations, states and named constants.
Package | django-fsm | django-enumfield | django-enum-choices | django-enum3field | django-echoices |
---|
Package | django-fsm | django-enumfield | django-enum-choices | django-enum3field | django-echoices |
---|---|---|---|---|---|
Description |
Django friendly finite state machine support |
Custom Django field for using enumerations of named constants |
Django choice field that supports Python enumerations |
A Django 1.7+ model field for use with Python 3 enums. |
Django model choices as Enum |
Category | App | App | App | Other | Other |
# Using This |
14
![]() |
3
![]() |
0
![]() |
0
![]() |
0
![]() |
Python 3? | |||||
Development Status | Production/Stable | Unknown | Unknown | Unknown | Production/Stable |
Last updated | Jan. 19, 2023, 5:56 a.m. | Feb. 27, 2023, 5:42 a.m. | May 4, 2022, 8:01 a.m. | March 15, 2015, 9:28 a.m. | Aug. 18, 2021, 1:30 p.m. |
Version | 2.8.1 | 3.1 | 2.1.4 | 0.1.1 | 2.8.0 |
Repo | GitHub | GitHub | GitHub | GitHub | GitHub |
Commits | |||||
Stars | 2,274 | 200 | 68 | 0 | 3 |
Repo Forks | 300 | 44 | 9 | 1 | 1 |
Participants |
kmmbvnr
knaperek ticosax frague59 kaharlichenko blueyed DariaKnyazeva llybin scotta seddonym more... |
Swamii
hannseman andreif lundberg kjagiello fcurella thedrow nicolasgrasset lamby piotrpawlaczek more... |
slavov-v
RadoRado wencakisa SaturnFromTitan wiedi yukikaoru alexa984 dependabot[bot] kpacup |
JoshData |
mbourqui
vdboor |
Documentation | n/a | n/a | n/a | n/a | |
Custom labels | depends on enum | ||||
Queryset lookups | |||||
Admin integration | partial, extended via django-fsm-admin | ||||
Form integration | |||||
PEP435-style enum | future | ||||
Custom class style enum | Extends Enum | ||||
ForeignKey backed | |||||
Finite state machine | main use-case | simple | |||
Integer backed | |||||
String backed |
Feature | Description |
---|---|
Custom labels | Add custom labels to enum values |
Queryset lookups | Can be used with queryset lookups and filters |
Admin integration | Usable in admin list filters |
Form integration | Usable in forms (choices) |
PEP435-style enum | Uses real Python 3.4+ PEP435-style enum's |
Custom class style enum | Uses a custom enum base class |
ForeignKey backed | Uses ForeignKey field as backing store |
Finite state machine | Supports (simple) finite state machine transitions |
Integer backed | Uses integer field as backing store |
String backed | Uses string field as backing store |
Search Weight | Package | Description | Last PyPI release: | Repo Forks | Stars | |||
---|---|---|---|---|---|---|---|---|
{{ item.weight / max_weight * 100 | number:0 }}% | {{ item.title }} | Grid: {{ item.description }} | {{ item.last_released | date: 'mediumDate' }} | N/A | {{ item.repo_forks }} | N/A | {{ item.repo_watchers }} | N/A |