Skip to content

Allow JSON encoder to be set #405

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

Closed
GibbsConsulting opened this issue Jun 30, 2022 · 2 comments
Closed

Allow JSON encoder to be set #405

GibbsConsulting opened this issue Jun 30, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@GibbsConsulting
Copy link
Owner

The JSON encoder used to send responses (plotly.utils.PlotlyJSONEncoder) does not currently permit the use of lazy string evaluation in Django, such as for translation of messages, as described in #404

The code in dash_wrapper.py needs to use something derived from this encoder that also can leverage the Django lazy text methods.

@delsim
Copy link
Contributor

delsim commented Jul 2, 2022

See PR #408

@GibbsConsulting
Copy link
Owner Author

Now addressed in v2.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants