Answer the question
In order to leave comments, you need to log in
Is there a filter in Django templates to deal with string slices?
truncatechars
does not fit, need to trim +
in the phone number. Or should I write my own? It is somehow strange that there is a slice for lists, but nothing for strings. Poke your nose if you overlooked.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question