#5025: Add a "truncate" template filter ---------------------------------------------+------------------------------ Reporter: SmileyChris | Owner: nobody Status: reopened | Milestone: Component: Template system | Version: SVN Resolution: | Keywords: Stage: Design decision needed | Has_patch: 1 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | ---------------------------------------------+------------------------------ Comment (by rjalves):
I tried slice, but it doesn't do exactly the same thing. The ... in the end give it a quite different meaning. At the moment I just implemented this filter as a custom filter on my application. I couldn't find any other built-in feature that would do the same task. I will be glad to drop the custom filter if this patch gets in though. Thanks for the reply. -- Ticket URL: <http://code.djangoproject.com/ticket/5025#comment:9> Django <http://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 django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---