Add a template filter for splitting a string.
Review Request #7353 — Created May 28, 2015 and submitted
Information | |
---|---|
chipx86 | |
Djblets | |
release-0.8.x | |
7354 | |
e75a466... | |
Reviewers | |
djblets | |
Django lacks any template filters for splitting a string, which is a handy thing to do sometimes. This adds a 'split' filter that can split by a delimiter (defaulting to a comma), returning a list to iterate on.
Used this in another change.