view potd/tasks.py @ 1211:b492d640c285 modernize

Added some tests for core.tasks. Could not get one test to work. :(
author Brian Neal <bgneal@gmail.com>
date Thu, 06 Feb 2025 20:58:33 -0600
parents aeafbf3ecebf
children
line wrap: on
line source
"""
Celery tasks for the POTD app.

"""
from __future__ import absolute_import

from celery import shared_task

import potd.tools


@shared_task
def pick_potd():
    potd.tools.pick_potd()