Skip to content

Commit b9b8712

Browse files
delsimMark Gibbs
andauthored
Insert stub function for backwards compatibility (#320)
* Insert stub function for backwards compatibility * Add CHANGELOG and update version Co-authored-by: Mark Gibbs <mark@gibbs.consulting>
1 parent cddf575 commit b9b8712

File tree

3 files changed

+28
-1
lines changed

3 files changed

+28
-1
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Change log for django-plotly-dash
2+
3+
All notable changes should be documented in this file.
4+
5+
## [1.6.1] - 2021-02-06
6+
7+
Added a stub for `use_dash_dispatch` for backwards compatibility.
8+
9+
[PR](https://github.com/GibbsConsulting/django-plotly-dash/pull/320)
10+
11+
Handle state management for wildcard arguments.
12+
13+
https://github.com/GibbsConsulting/django-plotly-dash/pull/316
14+
15+
Enable forwarding of extra arguments to DjangoDash constructor
16+
17+
https://github.com/GibbsConsulting/django-plotly-dash/pull/312
18+

django_plotly_dash/dash_wrapper.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,15 @@ def __init__(self,
435435

436436
self._return_embedded = False
437437

438+
def use_dash_dispatch(self):
439+
"""Return True if underlying dash dispatching should be used.
440+
441+
This stub is present to allow older code to work. Following PR #304
442+
(see https://github.com/GibbsConsulting/django-plotly-dash/pull/304/files for
443+
details) this function is no longer needed and therefore should always
444+
return False"""
445+
return False
446+
438447
def use_dash_layout(self):
439448
'''
440449
Indicate if the underlying dash layout can be used.

django_plotly_dash/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@
2323
2424
'''
2525

26-
__version__ = "1.6.0"
26+
__version__ = "1.6.1"

0 commit comments

Comments
 (0)