Quantcast
Channel: How to access Flask app's context from within embedded Dash app when using app factory pattern? - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by katamatsu for How to access Flask app's context from within...

I managed to solve my issue. I was struggling to understand where in the Dash side of the app it was possible to access the main Flask app's context, so that I could provide Dash with access to the...

View Article



How to access Flask app's context from within embedded Dash app when using...

I am building a web app using Flask and Dash. The main Flask app handles user login and authentication, and protects the routes of the Dash app. The Dash app is served from within the Flask app. The...

View Article

Answer by NotTooTechy for How to access Flask app's context from within...

Your answer is here Project Layout. I had similar problem and couldn't do 'normal' python imports within the flask app.Name your app flaskr as suggested, and move app.py and templates there ... just...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images