#27106: Document which template filters can be used in Python code (and how) -------------------------------------+------------------------------------- Reporter: Baptiste Mispelon | Owner: Ryan Type: | Cheley Cleanup/optimization | Status: assigned Component: Documentation | Version: 1.10 Severity: Normal | Resolution: Keywords: | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 1 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Comment (by Baptiste Mispelon):
Replying to [comment:9 Ryan Cheley]: > Before I start working on this ticket I wanted to make sure that it was still needed / valid. I can pick up the work that was done previously and try to get it over the finish line. The `truncatechars` filter linked in the original ticket still doesn't document which utility function it uses under the hood. Based on that, I would say that the ticket is still valid. Reading comment:1 and comment:2, it seems the direction of the ticket is to: 1) identify the utility functions that are used by the default template filters 2) make sure those utilities are documented (on their respective pages) 3) make sure the template filter documentation links to the corresponding utils documentation -- Ticket URL: <https://code.djangoproject.com/ticket/27106#comment:11> 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 django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/0107018ec9aae5fb-4fc492d5-c88b-4634-a56d-503934ea23b8-000000%40eu-central-1.amazonses.com.