V
V
Vladimir Taratushka2012-12-07 12:25:29
Django
Vladimir Taratushka, 2012-12-07 12:25:29

Template tag truncate without ellipsis?

Is there any option or alternative without the ellipsis? I really don’t understand why the ellipsis is forced, because you can always add it manually, if necessary.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Akulovich, 2012-12-07
@rewiaca

def truncate_words(s, num, end_text='...' ):
def truncate_html_words(s, num, end_text='...' ):

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question