Skip to content

Commit

Permalink
Fix linting problem
Browse files Browse the repository at this point in the history
  • Loading branch information
kjagiello committed Jul 30, 2019
1 parent be0f1e1 commit a754a89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_enumfield/contrib/drf.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ class NamedEnumField(EnumField):

def get_choice_value(self, enum_value):
return enum_value.name

class Meta:
swagger_schema_fields = {"type": "string"}

0 comments on commit a754a89

Please sign in to comment.