run.py __init__.pyの形をとりあえず作成
This commit is contained in:
parent
0ab78dcdff
commit
c8dee4c978
@ -0,0 +1,9 @@
|
|||||||
|
from flask import Flask
|
||||||
|
from flask_sqlalchemy import SQLAlchemy
|
||||||
|
from flask_login import LoginManager
|
||||||
|
|
||||||
|
|
||||||
|
# TODO:DB設定などのコードを書く
|
||||||
|
def create_app():
|
||||||
|
app = Flask(__name__)
|
||||||
|
return app
|
Loading…
x
Reference in New Issue
Block a user