Skip to content
Permalink
Browse files

[#13] flask-jwt-extended initialize 관련 코드 추가

  • Loading branch information...
JoMingyu committed Mar 4, 2019
1 parent 3196d61 commit b9b6f89a95a86b942c08a7228feab596b35d155a
Showing with 5 additions and 1 deletion.
  1. +2 −1 app/__init__.py
  2. +3 −0 app/extensions.py
@@ -6,8 +6,9 @@


def register_extensions(flask_app: Flask):
from app.extensions import main_db
from app.extensions import jwt, main_db

jwt.init_app(flask_app)
main_db.init_app(flask_app)


@@ -1,4 +1,7 @@
from flask_jwt_extended import JWTManager

from app.models import MainDB


jwt = JWTManager()
main_db = MainDB()

0 comments on commit b9b6f89

Please sign in to comment.
You can’t perform that action at this time.