Commit 552c6c17 authored by Mike Richards's avatar Mike Richards

Fix typo in docstring

parent 7abc775c
...@@ -147,7 +147,7 @@ class ModelView(BaseModelView): ...@@ -147,7 +147,7 @@ class ModelView(BaseModelView):
Inline model conversion class. If you need some kind of post-processing for inline Inline model conversion class. If you need some kind of post-processing for inline
forms, you can customize behavior by doing something like this:: forms, you can customize behavior by doing something like this::
class MyInlineModelConverter(AdminModelConverter): class MyInlineModelConverter(InlineModelConverter):
def post_process(self, form_class, info): def post_process(self, form_class, info):
form_class.value = wtf.StringField('value') form_class.value = wtf.StringField('value')
return form_class return form_class
......
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