Files @ af83b40af2fb
Branch filter:

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

bsturmfels
fossy: Add date hierarchy in admin
1
2
3
4
5
6
7
from django import template

register = template.Library()

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