diff options
author | rubenwardy <rw@rubenwardy.com> | 2018-12-22 23:03:38 +0000 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2018-12-22 23:03:38 +0000 |
commit | 366ed9913eded7215d6ad0b71280c4ad60c98171 (patch) | |
tree | af30ad1e55809425e5ce00f0558948887a76528c /app/__init__.py | |
parent | 79f4e162863302cbcaa5ecc41347959d8c9218c1 (diff) | |
download | cheatdb-366ed9913eded7215d6ad0b71280c4ad60c98171.tar.xz |
Update to Flask 1.0
Diffstat (limited to 'app/__init__.py')
-rw-r--r-- | app/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/__init__.py b/app/__init__.py index b7913f5..6993952 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -20,7 +20,7 @@ from flask_user import * from flask_gravatar import Gravatar import flask_menu as menu from flask_mail import Mail -from flask.ext import markdown +from flaskext.markdown import Markdown from flask_github import GitHub from flask_wtf.csrf import CsrfProtect from flask_flatpages import FlatPages @@ -32,7 +32,7 @@ app.config["FLATPAGES_EXTENSION"] = ".md" app.config.from_pyfile(os.environ["FLASK_CONFIG"]) menu.Menu(app=app) -markdown.Markdown(app, extensions=["fenced_code"], safe_mode=True, output_format="html5") +Markdown(app, extensions=["fenced_code"], safe_mode=True, output_format="html5") github = GitHub(app) csrf = CsrfProtect(app) mail = Mail(app) |