Compare commits

...

3 Commits

2 changed files with 5 additions and 2 deletions

View File

@ -6,6 +6,7 @@ from dash.dependencies import Input, Output
from .app import app
from .pages.home import app as home
from .pages.exams_scores import app as exams_scores
import dash_html_components as html
@app.callback(Output("page-content", "children"), [Input("url", "pathname")])

View File

@ -2,8 +2,7 @@
# encoding: utf-8
import click
from recopytex.dashboard.app import app as dash
from recopytex.dashboard.index import app as dash
@click.group()
def cli():
@ -14,3 +13,6 @@ def cli():
@click.option("--debug", default=0, help="Debug mode for dash")
def dashboard(debug):
dash.run_server(debug=bool(debug))
if __name__ == "__main__":
cli()