Friday, 22 January 2021

Making Flask+Dash app updates more automated

First of all, I am not a python or web programmer so please be patient with me. I made a Flask web app some time ago. It has the login screen with some home screen which re-directs to a Dash app. The code example is here: demo app. All is working fine and am pretty happy with it. The problem is that sometimes I need to have multiple very similar Dash apps. In this case I would make a copy demo_app.py, rename the app name, change the path in routes_pathname_prefix and etc. Also update from dashapp import demo_app in routes.py.

Question: what would be the correct way to setup demo_app.py to make more automated? I assume it would require putting the content of this file into some class but I am not sure how to do it. Can someone help?



from Making Flask+Dash app updates more automated

No comments:

Post a Comment