django-plotly-dash icon indicating copy to clipboard operation
django-plotly-dash copied to clipboard

Allow JSON encoder to be set

Open GibbsConsulting opened this issue 3 years ago • 1 comments

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.

GibbsConsulting avatar Jun 30 '22 14:06 GibbsConsulting

See PR #408

delsim avatar Jul 02 '22 21:07 delsim

Now addressed in v2.1.0

GibbsConsulting avatar Oct 29 '22 05:10 GibbsConsulting