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 32cce0d + 0922cb5 commit 44e378fCopy full SHA for 44e378f
flask_mongoengine/wtf/orm.py
@@ -46,7 +46,7 @@ def __init__(self, converters=None):
46
def convert(self, model, field, field_args):
47
kwargs = {
48
'label': getattr(field, 'verbose_name', field.name),
49
- 'description': field.help_text or '',
+ 'description': getattr(field, 'help_text', None) or '',
50
'validators': getattr(field, 'validators', None) or [],
51
'filters': getattr(field, 'filters', None) or [],
52
'default': field.default,
0 commit comments