Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Dash bootstrap components not showing django

$
0
0

I wanted to have progress bar in my Django project but it is not showing on page. I have installed
django-dash and dash-bootstrap-components. Code:

import dash_html_components as html
import dash_bootstrap_components as dbc
from django_plotly_dash import DjangoDash

app = DjangoDash("Progress", add_bootstrap_links=True)
app.layout = html.Div(dbc.Progress(value=100))

and template

{% load plotly_dash %}
<div class="{% plotly_class name="Progress" %}">
    {% plotly_app_bootstrap name="Progress" %}
</div>

23 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 6271

Trending Articles