File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 14
14
IntegerChoices ,
15
15
TextChoices ,
16
16
)
17
- from django_enum .filters import (
18
- FilterSet ,
19
- EnumFilter
20
- )
21
17
from django_enum .fields import (
22
18
EnumBigIntegerField ,
23
19
EnumCharField ,
29
25
EnumPositiveSmallIntegerField ,
30
26
EnumSmallIntegerField ,
31
27
)
28
+ from django_enum .filters import EnumFilter , FilterSet
32
29
from django_enum .forms import EnumChoiceField
33
30
34
31
__all__ = [
Original file line number Diff line number Diff line change @@ -3007,8 +3007,8 @@ def test_color(self):
3007
3007
).first () == instance
3008
3008
)
3009
3009
3010
- from django_enum import EnumChoiceField
3011
3010
from django .forms import ModelForm
3011
+ from django_enum import EnumChoiceField
3012
3012
3013
3013
class TextChoicesExampleForm (ModelForm ):
3014
3014
color = EnumChoiceField (TextChoicesExample .Color )
You can’t perform that action at this time.
0 commit comments