added stuff for settings

master
Kostanjevec 2022-06-23 14:41:11 +02:00
parent faeb857666
commit 69cccb8eb9
1 changed files with 2 additions and 0 deletions

2
app.py
View File

@ -7,6 +7,7 @@ from menu import bp as menu_bp
from upload import bp as upload_bp from upload import bp as upload_bp
from share import share from share import share
from matches import bp as matches_bp from matches import bp as matches_bp
from settings import bp as settings_bp
from create_db import Card, Deck, get_session from create_db import Card, Deck, get_session
from config import CONFIG from config import CONFIG
@ -146,6 +147,7 @@ def create_app(test_config=None):
app.register_blueprint(menu_bp) app.register_blueprint(menu_bp)
app.register_blueprint(upload_bp) app.register_blueprint(upload_bp)
app.register_blueprint(matches_bp) app.register_blueprint(matches_bp)
app.register_blueprint(settings_bp)
app.add_url_rule('/', endpoint='index') app.add_url_rule('/', endpoint='index')
return app return app