#5025: Add a "truncate" template filter
---------------------------------------+---------------------------------
Reporter: SmileyChris | Owner: nobody
Type: New feature | Status: reopened
Milestone: | Component: Template system
Version: SVN | Severity: Normal
Resolution: | Keywords:
Triage Stage: Accepted | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 1 | Easy pickings: 0
---------------------------------------+---------------------------------
Comment (by jezdez):
Ah, and using `pgettext_lazy('%(truncated_text)s...')` seems like a good
idea, indeed.
--
Ticket URL: <https://code.djangoproject.com/ticket/5025#comment:33>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.