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.
2 parents 223d0b1 + 29b8ea8 commit 865c953Copy full SHA for 865c953
graphene_django/forms/converter.py
@@ -43,7 +43,7 @@ def convert_form_field_to_int(field):
43
44
@convert_form_field.register(forms.BooleanField)
45
def convert_form_field_to_boolean(field):
46
- return Boolean(description=field.help_text, required=True)
+ return Boolean(description=field.help_text, required=field.required)
47
48
49
@convert_form_field.register(forms.NullBooleanField)
0 commit comments