This is a simple example of use of a dash application within a Django template. Use of the plotly_app template tag with the name of a dash application represents the simplest use of the django_plotly_dash framework.
The plotly_class tag is also used to wrap the application in css class names based on the application (django-plotly-dash), the type of the embedding (iframe), and the slugified version of the app name (simpleexample).
{% load plotly_dash %}
<div class="{% plotly_class name="SimpleExample"%}">
{% plotly_app name="SimpleExample" ratio=0.2 %}
<\div>