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

template tag in code #164

Closed
dixoos opened this issue Sep 18, 2023 · 0 comments
Closed

template tag in code #164

dixoos opened this issue Sep 18, 2023 · 0 comments

Comments

@dixoos
Copy link

dixoos commented Sep 18, 2023

if use django 3.2.14 by default - error 'json_script requires 2 arguments, 1 provided'
in ckeditor_5\widget.html, error at line 9
<span id="{{script_id}}">{{ config|json_script}}</span>

in django docs {{ value|json_script:"hello-data" }}

maybe it changes the template somewhere in the code, there is no error in django 4, although the documentation does not change the parameters.

мой костыль xD <span id="{{script_id}}">{{ config|json_script:'xz'}}</span>

@hvlads hvlads closed this as completed in 4c70a05 Sep 23, 2023
hvlads added a commit that referenced this issue Sep 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant