#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.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019d23e4571f-9e36b671-f467-4503-a03a-dcaad500713f-000000%40eu-central-1.amazonses.com.