Cookes and Terms and Conditions
I accept This site stores small pieces of text information called cookies on your computer in order to deliver better content and for statistical purposes. You can disable the usage of cookies by changing the settings of your browser. By using this website without changing your browser settings you are granting permission to store that information on your device.
Any and all use of this Website is subject to our terms and conditions
Django Session State
This example demonstrates passing session state values from Django to a Dash app.
The view that renders this page updates a variable each time the view is rendered in this session. Clicking on the button will update the session with a record of the number of clicks of the button since the page was rendered.
The current page render count in this session is 1
{% load plotly_dash %}
<div class="{% plotly_class name="DjangoSessionState"%}">
{% plotly_app name="DjangoSessionState" ratio=0.3 %}
<\div>