Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Insert stub function for backwards compatibility #320

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Change log for django-plotly-dash

All notable changes should be documented in this file.

## [1.6.1] - 2021-02-06

Added a stub for `use_dash_dispatch` for backwards compatibility.

[PR](https://github.com/GibbsConsulting/django-plotly-dash/pull/320)

Handle state management for wildcard arguments.

https://github.com/GibbsConsulting/django-plotly-dash/pull/316

Enable forwarding of extra arguments to DjangoDash constructor

https://github.com/GibbsConsulting/django-plotly-dash/pull/312

9 changes: 9 additions & 0 deletions django_plotly_dash/dash_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,15 @@ def __init__(self,

self._return_embedded = False

def use_dash_dispatch(self):
"""Return True if underlying dash dispatching should be used.

This stub is present to allow older code to work. Following PR #304
(see https://github.com/GibbsConsulting/django-plotly-dash/pull/304/files for
details) this function is no longer needed and therefore should always
return False"""
return False

def use_dash_layout(self):
'''
Indicate if the underlying dash layout can be used.
Expand Down
2 changes: 1 addition & 1 deletion django_plotly_dash/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@

'''

__version__ = "1.6.0"
__version__ = "1.6.1"