Commit 906e37ee authored by Michael Karpitsky's avatar Michael Karpitsky

Make compatible with latest mongoengine.

parent 7619a3dd
......@@ -63,7 +63,7 @@ class CustomModelConverter(orm.ModelConverter):
kwargs = {
'label': getattr(field, 'verbose_name', field.name),
'description': field.help_text or '',
'description': getattr(field, 'help_text', ''),
'validators': [],
'filters': [],
'default': field.default
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment