We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 248afdb commit c19be65Copy full SHA for c19be65
extras_mongoengine/fields.py
@@ -97,7 +97,7 @@ def validate(self, value):
97
98
def _validate(self, value, **kwargs):
99
return super(EnumField, self)._validate(
100
- self.enum(self.__get_value(value)), **kwargs)
+ self.__get_value(value), **kwargs)
101
102
103
class IntEnumField(EnumField, IntField):
0 commit comments