Is it possible to slice the string from Django template tag's variable?
Let's say some_variable contain "abcde" I want it to be sliced to be "abc"
On Django's template, I tried like this.
{{some_variable[:-2]}}
It does not work.
If it's possible to slice words from Django template tag's variable, please advise me how to do it.