diff --git a/app/models.py b/app/models.py index 263c541..8e177e4 100644 --- a/app/models.py +++ b/app/models.py @@ -110,4 +110,4 @@ class Post(db.Model): if enable_search: - whooshalchemy.whoosh_index(app, Post) + flask_whooshalchemy.whoosh_index(app, Post)