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 39cbb2b commit e5a87c6Copy full SHA for e5a87c6
django_mongoengine/fields/djangoflavor.py
@@ -228,11 +228,6 @@ def formfield(self, **kwargs):
228
229
230
class BooleanField(DjangoField):
231
- def __init__(self, *args, **kwargs):
232
- kwargs["blank"] = True
233
-
234
- super().__init__(*args, **kwargs)
235
236
def formfield(self, **kwargs):
237
# Unlike most fields, BooleanField figures out include_blank from
238
# self.null instead of self.blank.
0 commit comments