Re: [Django] #36944: Truncator's docstring states that `MAX_LENGTH_HTML` is enforced but is not, also `truncatechars_html` and `truncatewords_html` docs should be corrected

1 view
Skip to first unread message

Django

unread,
Feb 25, 2026, 11:09:04 AM (24 hours ago) Feb 25
to django-...@googlegroups.com
#36944: Truncator's docstring states that `MAX_LENGTH_HTML` is enforced but is not,
also `truncatechars_html` and `truncatewords_html` docs should be corrected
-------------------------------------+-------------------------------------
Reporter: Natalia Bidart | Owner: Natalia
Type: | Bidart
Cleanup/optimization | Status: closed
Component: Documentation | Version: 6.0
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 nessita <124304+nessita@…>):

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

Comment:

In [changeset:"bbc6818bc12f14c1764a7eb68556018195f56b59" bbc6818]:
{{{#!CommitTicketReference repository=""
revision="bbc6818bc12f14c1764a7eb68556018195f56b59"
Fixed #36944 -- Removed MAX_LENGTH_HTML and related 5M chars limit
references from HTML truncation docs.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/36944#comment:5>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Feb 25, 2026, 11:11:35 AM (24 hours ago) Feb 25
to django-...@googlegroups.com
#36944: Truncator's docstring states that `MAX_LENGTH_HTML` is enforced but is not,
also `truncatechars_html` and `truncatewords_html` docs should be corrected
-------------------------------------+-------------------------------------
Reporter: Natalia Bidart | Owner: Natalia
Type: | Bidart
Cleanup/optimization | Status: closed
Component: Documentation | Version: 6.0
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 Natalia <124304+nessita@…>):

In [changeset:"d112203b19946659335db6462043f8652e6700a1" d112203]:
{{{#!CommitTicketReference repository=""
revision="d112203b19946659335db6462043f8652e6700a1"
[6.0.x] Fixed #36944 -- Removed MAX_LENGTH_HTML and related 5M chars limit
references from HTML truncation docs.

Backport of bbc6818bc12f14c1764a7eb68556018195f56b59 from main.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/36944#comment:6>

Django

unread,
Feb 25, 2026, 11:17:03 AM (24 hours ago) Feb 25
to django-...@googlegroups.com
#36944: Truncator's docstring states that `MAX_LENGTH_HTML` is enforced but is not,
also `truncatechars_html` and `truncatewords_html` docs should be corrected
-------------------------------------+-------------------------------------
Reporter: Natalia Bidart | Owner: Natalia
Type: | Bidart
Cleanup/optimization | Status: closed
Component: Documentation | Version: 6.0
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 Natalia <124304+nessita@…>):

In [changeset:"703777cbbc268f62083c703fa27fa582b54bcc93" 703777cb]:
{{{#!CommitTicketReference repository=""
revision="703777cbbc268f62083c703fa27fa582b54bcc93"
[5.2.x] Fixed #36944 -- Removed MAX_LENGTH_HTML and related 5M chars limit
references from HTML truncation docs.

Backport of bbc6818bc12f14c1764a7eb68556018195f56b59 from main.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/36944#comment:7>
Reply all
Reply to author
Forward
0 new messages