#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.