Files @ f32d04e72500
Branch filter:

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

brett
supporter: Women's shirts, not ladies' shirts.

Signed off by Karen.
1
2
3
4
5
6
7
8
from django import template
register = template.Library()

@register.filter
def min(value, arg):
    if value > arg:
        return arg
    return value