Skip to content

Commit defe70d

Browse files
delsimdelsim
and
delsim
authored
Allow use of current Dash versions by updating asset loading (#504)
* Add plotly assets to internal list, and expand static file loading of the demo application * Bump version to 2.4.2 --------- Co-authored-by: delsim <[email protected]>
1 parent 45dcd4b commit defe70d

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

demo/demo/settings.py

+1
Original file line numberDiff line numberDiff line change
@@ -196,4 +196,5 @@
196196
'dash_bootstrap_components',
197197
'dpd_components',
198198
'dpd_static_support',
199+
'dash_mantine_components',
199200
]

django_plotly_dash/finders.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ def __init__(self):
5656
except:
5757
components = []
5858

59-
built_ins = [('dash', ['dcc', 'html', 'dash_table', 'deps', 'dash-renderer', 'dash-renderer/build']), ]
59+
built_ins = [('dash', ['dcc', 'html', 'dash_table', 'deps', 'dash-renderer', 'dash-renderer/build']),
60+
('plotly', ['package_data']),
61+
]
6062

6163
for component_name in components:
6264

django_plotly_dash/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@
2323
2424
'''
2525

26-
__version__ = "2.4.1"
26+
__version__ = "2.4.2"

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
dash>=2.0,<2.13
1+
dash>=2.0,<3.0
22
plotly
33
dpd-components
44

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
'Documentation': 'http://django-plotly-dash.readthedocs.io/',
4242
},
4343
install_requires = ['plotly',
44-
'dash>=2.0,<2.13',
44+
'dash>=2.0,<3.0',
4545
'dpd-components',
4646

4747
'dash-bootstrap-components',

0 commit comments

Comments
 (0)