I want to create a login pageto my dash app … using flask
This is the code ;:
server = Flask(__name__)
app = dash.Dash(__name__, suppress_callback_exceptions=True, external_stylesheets=[dbc.themes.LITERA
, FONT_AWESOME],meta_tags=[{'name': 'viewport', 'content': 'width=device-width, initial-scale=1.0'}]
)
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///test.db'
db = SQLAlchemy(server)
I got this error : raise AttributeError(final_msg, key)
AttributeError: ('Invalid config key. Some settings are only available via the Dash constructor', 'SQLALCHEMY_DATABASE_URI')
do you have any idea ?
Thaaaaaaaank you !