Files @ 99d3325e3322
Branch filter:

Location: website/www/conservancy/apps/news/templatetags/subtract.py

bkuhn
Create subtract filter.
1
2
3
4
5
6
from django import template
register = template.Library()

@register.filter
def subtract(value, arg):
    return value - arg