Add a template filter for splitting a string.

Review Request #7353 — Created May 28, 2015 and submitted

Information

Djblets
release-0.8.x
e75a466...

Reviewers

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.

reviewbot
  1. Tool: Pyflakes
    Processed Files:
        djblets/util/templatetags/djblets_utils.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        djblets/util/templatetags/djblets_utils.py
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-0.8.x (6420f71)