You don't need the `name` argument for the `register.filter` function as long as `mod` is not a reserved keyword :) Therefore `@register.filter` is enough.