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 1414 IntegerChoices ,
1515 TextChoices ,
1616)
17- from django_enum .filters import (
18- FilterSet ,
19- EnumFilter
20- )
2117from django_enum .fields import (
2218 EnumBigIntegerField ,
2319 EnumCharField ,
2925 EnumPositiveSmallIntegerField ,
3026 EnumSmallIntegerField ,
3127)
28+ from django_enum .filters import EnumFilter , FilterSet
3229from django_enum .forms import EnumChoiceField
3330
3431__all__ = [
Original file line number Diff line number Diff line change @@ -3007,8 +3007,8 @@ def test_color(self):
30073007 ).first () == instance
30083008 )
30093009
3010- from django_enum import EnumChoiceField
30113010 from django .forms import ModelForm
3011+ from django_enum import EnumChoiceField
30123012
30133013 class TextChoicesExampleForm (ModelForm ):
30143014 color = EnumChoiceField (TextChoicesExample .Color )
You can’t perform that action at this time.
0 commit comments