Commit 1aade64c authored by Mike Lambert's avatar Mike Lambert

Fix comment too.

parent 80603fdf
...@@ -451,7 +451,7 @@ class BaseModelView(BaseView, ActionsMixin): ...@@ -451,7 +451,7 @@ class BaseModelView(BaseView, ActionsMixin):
Example:: Example::
from wtforms.validators import Required from wtforms.validators import DataRequired
class MyModelView(BaseModelView): class MyModelView(BaseModelView):
form_args = dict( form_args = dict(
name=dict(label='First Name', validators=[DataRequired()]) name=dict(label='First Name', validators=[DataRequired()])
......
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