svthalia/concrexit

View on GitHub
website/promotion/tasks.py

Summary

Maintainability
A
1 hr
Test Coverage
from celery import shared_task

from promotion import emails


@shared_task
def promo_update_weekly():
    emails.send_weekly_overview()


@shared_task
def promo_update_daily():
    emails.send_daily_overview()


@shared_task
def promo_update_overview_daily():
    emails.send_daily_update_overview()