Fix deprecation warnings

This commit is contained in:
rubenwardy 2020-01-23 00:19:04 +00:00
parent 5e60cb83de
commit 4e331c7f14
2 changed files with 3 additions and 2 deletions

@ -21,7 +21,7 @@ from flask_gravatar import Gravatar
import flask_menu as menu
from flask_mail import Mail
from flask_github import GitHub
from flask_wtf.csrf import CsrfProtect
from flask_wtf.csrf import CSRFProtect
from flask_flatpages import FlatPages
from flask_babel import Babel
import os, redis
@ -35,7 +35,7 @@ r = redis.Redis.from_url(app.config["REDIS_URL"])
menu.Menu(app=app)
github = GitHub(app)
csrf = CsrfProtect(app)
csrf = CSRFProtect(app)
mail = Mail(app)
pages = FlatPages(app)
babel = Babel(app)

@ -6,6 +6,7 @@ SECRET_KEY = ""
WTF_CSRF_SECRET_KEY = ""
SQLALCHEMY_DATABASE_URI = "sqlite:///../db.sqlite"
SQLALCHEMY_TRACK_MODIFICATIONS = False
GITHUB_CLIENT_ID = ""
GITHUB_CLIENT_SECRET = ""