django-plotly-dash
django-plotly-dash copied to clipboard
Passing URL Get Request parameters to Dash App
Hello,
I am directly embedding plotly dash app using plotly_direct
. If I want to pass URL Get parameters to the dash app, how is it possible to do it? The standalone dash app (2.6) works fine using the dash multi-page app approach.
The GET parameters are available to whatever view is rendering the template containing the plotly_direct
or similar tag.
You'll need to pass the necessary parameters to the dash app as arguments to this tag.
See the template tag documentation for more information.
Note that there is an enhancement request #417 for multi-page dash apps, which are reported to be a new feature of Dash that is not yet available in dpd.