Created
May 5, 2014 20:23
-
-
Save chris-martin/7d64801204d83fd124f3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django import template | |
register = template.Library() | |
@register.filter | |
def joinby(value, arg): | |
return arg.join(map(unicode, value)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment