I have a model field, which stores a list of URLs (yeah, I know, that\'s wrong way) as url1\\nurl2\\nurl3<...>. I need to split the field into an array in
url1\\nurl2\\nurl3<...>
I wanted to split a list of words to get a word count, and it turns out there is a filter for that:
{{ value|wordcount }}
https://docs.djangoproject.com/en/dev/ref/templates/builtins/?from=olddocs#wordcount