@register.filter
def week_number(date):
    week_number = date.strftime('%W')
    if int(week_number) < 10:
        week_number = week_number[-1]
    return week_number
Ensure that a pagerduty escalation policy exists.  Will create or update as needed.
dataset/ETHPy150Open Fantomas42/django-blog-zinnia/zinnia/templatetags/zinnia.py/week_number--crossover with--dataset/ETHPy150Open saltstack/salt/salt/states/pagerduty_escalation_policy.py/present