Skip to content

Commit

Permalink
Update flask-flatpages
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasjuhrich committed Aug 18, 2022
1 parent e070a90 commit a682a47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build/requirements/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ SQLAlchemy~=1.3.7
Flask-SQLAlchemy~=2.3.2
Markdown~=3.3.4
requests~=2.21.0
Flask-FlatPages~=0.7.2
Flask-FlatPages~=0.8.1
pygal~=3.0.0
GitPython~=2.1.7
Flask-WTF~=0.15.1
Expand Down
1 change: 1 addition & 0 deletions sipa/flatpages.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ def __init__(self):

def init_app(self, app):
assert self.app is None, "Already initialized with an app"
app.config.setdefault('FLATPAGES_LEGACY_META_PARSER', True)
self.app = app
app.cf_pages = self
self.flat_pages.init_app(app)
Expand Down

0 comments on commit a682a47

Please sign in to comment.