[Django] #37005: Typo in custom template tags and filters example code block

2 views
Skip to first unread message

Django

unread,
Mar 25, 2026, 3:27:46 AM (yesterday) Mar 25
to django-...@googlegroups.com
#37005: Typo in custom template tags and filters example code block
-------------------------------------+-------------------------------------
Reporter: daviddehoog | Type:
| Cleanup/optimization
Status: new | Component:
| Documentation
Version: 6.0 | Severity: Normal
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
In the documentation for custom template tags and filters, under Simple
Block Tags there's "A complete example":
https://docs.djangoproject.com/en/6.0/howto/custom-template-tags/

Line 15 is:
<details{open}>
which looks like a typo that should probably be:
<details>{open}

Cheers
David
--
Ticket URL: <https://code.djangoproject.com/ticket/37005>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Mar 25, 2026, 6:13:28 AM (yesterday) Mar 25
to django-...@googlegroups.com
#37005: Typo in custom template tags and filters example code block
-------------------------------------+-------------------------------------
Reporter: daviddehoog | Owner: (none)
Type: | Status: closed
Cleanup/optimization |
Component: Documentation | Version: 6.0
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

* resolution: => invalid
* status: new => closed

Comment:

The output is `<details open>` which creates a details box in its open
state.
--
Ticket URL: <https://code.djangoproject.com/ticket/37005#comment:1>
Reply all
Reply to author
Forward
0 new messages