Re: #29433 New split template filter

2018-05-30 Thread Collin Anderson
There's been a few cases where I would have found a split filter to be useful. I don't remember them off the top of my head. I like that the behavior of it should be pretty well defined: just return obj.split() if val is None else obj.split(val) On Wed, May 30, 2018 at 6:32 AM, Carlton Gibson wr

Re: #29433 New split template filter

2018-05-30 Thread Carlton Gibson
Hi Kamil, I'd think the preference here would be to NOT add new filters lightly — i.e. to close as wontfix — and recommend users create their own filters (or pull the logic into say a `get_context()` method) if they need this kind of thing. Slight aside: "Hi guys" may not fairly address ever