You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, your tutorial is very good! I have a question. Let's say I want to build a view for showing data and it's a different view than the dashboard (/dashapp/) - let's say it goes to /dashapp/summary. How do I do this?
Do you have to use the jinja2 ? I've never messed with them before. Could you build a cascade of jinja2's, one underneath another? Say for instance you have a bunch of incubators and you want to show the current temperature and humidity but once you click on one of these you would open up your dashboard for that incubator.
Activity
capihacendado commentedon Feb 10, 2021
same doubt here
capihacendado commentedon Feb 10, 2021
Well actually I just did a work around to achieve it, and hopefully if there is a more clean way to do it, just let me know.
What I did is:
`
`
if you don't want to create new .py you can create and import another function inside the dashboard.py that create another dashboard.
Hope it helps and if there is a better solution please let it know
hansendm commentedon Jul 19, 2021
Do you have to use the jinja2 ? I've never messed with them before. Could you build a cascade of jinja2's, one underneath another? Say for instance you have a bunch of incubators and you want to show the current temperature and humidity but once you click on one of these you would open up your dashboard for that incubator.