1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #33302 -- Made element_id optional argument for json_script template filter.

Added versionchanged note in documentation
This commit is contained in:
Baptiste Mispelon
2021-11-19 16:52:57 +01:00
committed by Mariusz Felisiak
parent dd528cb2ce
commit e6e664a711
6 changed files with 28 additions and 9 deletions

View File

@@ -210,7 +210,8 @@ Signals
Templates
~~~~~~~~~
* ...
* :tfilter:`json_script` template filter now allows wrapping in a ``<script>``
tag without the HTML ``id`` attribute.
Tests
~~~~~