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

Fixed #33779 -- Allowed customizing encoder class in django.utils.html.json_script().

This commit is contained in:
Hrushikesh Vaidya
2022-06-23 14:20:20 +05:30
committed by Mariusz Felisiak
parent 0ee03a439b
commit 72e41a0df6
4 changed files with 27 additions and 4 deletions

View File

@@ -214,7 +214,8 @@ URLs
Utilities
~~~~~~~~~
* ...
* The new ``encoder`` parameter for :meth:`django.utils.html.json_script`
function allows customizing a JSON encoder class.
Validators
~~~~~~~~~~