O'Reilly logo
  • Pawel Konieczny thinks this is interesting:

This is how our view looks

From

Cover of Building Web Applications with Flask

Note

The code is missing ArticleForm. One possibility:
from flask_wtf import FlaskForm
from wtforms.ext.sqlalchemy.orm import model_form
ArticleForm = model_form(Article, base_class=FlaskForm)