Re: [Django] #33779: Add an encoder parameter to django.utils.html.json_script().

26 views
Skip to first unread message

Django

unread,
Jun 23, 2022, 4:38:21 AM6/23/22
to django-...@googlegroups.com
#33779: Add an encoder parameter to django.utils.html.json_script().
-------------------------------------+-------------------------------------
Reporter: Claude Paroz | Owner:
| Hrushikesh Vaidya
Type: New feature | Status: assigned
Component: Utilities | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Hrushikesh Vaidya):

* owner: nobody => Hrushikesh Vaidya
* status: new => assigned


--
Ticket URL: <https://code.djangoproject.com/ticket/33779#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jun 23, 2022, 5:05:59 AM6/23/22
to django-...@googlegroups.com
#33779: Add an encoder parameter to django.utils.html.json_script().
-------------------------------------+-------------------------------------
Reporter: Claude Paroz | Owner:
| Hrushikesh Vaidya
Type: New feature | Status: assigned
Component: Utilities | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Hrushikesh Vaidya):

[https://github.com/django/django/pull/15789 PR]
I'll also add docs for `json_script()` soon

--
Ticket URL: <https://code.djangoproject.com/ticket/33779#comment:3>

Django

unread,
Jun 23, 2022, 5:10:16 AM6/23/22
to django-...@googlegroups.com
#33779: Add an encoder parameter to django.utils.html.json_script().
-------------------------------------+-------------------------------------
Reporter: Claude Paroz | Owner:
| Hrushikesh Vaidya
Type: New feature | Status: assigned
Component: Utilities | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 1
Needs tests: 1 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* needs_docs: 0 => 1
* has_patch: 0 => 1
* needs_tests: 0 => 1


Comment:

[https://github.com/django/django/pull/15789 PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/33779#comment:4>

Django

unread,
Jun 28, 2022, 4:55:38 AM6/28/22
to django-...@googlegroups.com
#33779: Add an encoder parameter to django.utils.html.json_script().
-------------------------------------+-------------------------------------
Reporter: Claude Paroz | Owner:
| Hrushikesh Vaidya
Type: New feature | Status: assigned
Component: Utilities | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* needs_docs: 1 => 0
* needs_tests: 1 => 0
* stage: Accepted => Ready for checkin


--
Ticket URL: <https://code.djangoproject.com/ticket/33779#comment:5>

Django

unread,
Jun 28, 2022, 5:36:17 AM6/28/22
to django-...@googlegroups.com
#33779: Add an encoder parameter to django.utils.html.json_script().
-------------------------------------+-------------------------------------
Reporter: Claude Paroz | Owner:
| Hrushikesh Vaidya
Type: New feature | Status: closed
Component: Utilities | Version: dev
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

In [changeset:"e40b77365fb030b66c039a263ae9fd262a59e373" e40b7736]:
{{{
#!CommitTicketReference repository=""
revision="e40b77365fb030b66c039a263ae9fd262a59e373"
[4.1.x] Refs #33779 -- Doc'd django.utils.html.json_script().

Backport of 0ee03a439b7016c068ab2e0c477d5c84f750a82c from main
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/33779#comment:8>

Django

unread,
Jun 28, 2022, 5:36:18 AM6/28/22
to django-...@googlegroups.com
#33779: Add an encoder parameter to django.utils.html.json_script().
-------------------------------------+-------------------------------------
Reporter: Claude Paroz | Owner:
| Hrushikesh Vaidya
Type: New feature | Status: closed
Component: Utilities | Version: dev
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"72e41a0df6db23410135364223eeda83ac2a8b27" 72e41a0d]:
{{{
#!CommitTicketReference repository=""
revision="72e41a0df6db23410135364223eeda83ac2a8b27"
Fixed #33779 -- Allowed customizing encoder class in
django.utils.html.json_script().
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/33779#comment:7>

Django

unread,
Jun 28, 2022, 5:36:18 AM6/28/22
to django-...@googlegroups.com
#33779: Add an encoder parameter to django.utils.html.json_script().
-------------------------------------+-------------------------------------
Reporter: Claude Paroz | Owner:
| Hrushikesh Vaidya
Type: New feature | Status: assigned

Component: Utilities | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

In [changeset:"0ee03a439b7016c068ab2e0c477d5c84f750a82c" 0ee03a43]:
{{{
#!CommitTicketReference repository=""
revision="0ee03a439b7016c068ab2e0c477d5c84f750a82c"
Refs #33779 -- Doc'd django.utils.html.json_script().
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/33779#comment:6>

Reply all
Reply to author
Forward
0 new messages