view potd/tasks.py @ 1169:8d785b6ee532

Fix for sudden broken donations form.
author Brian Neal <bgneal@gmail.com>
date Mon, 20 Nov 2017 18:12:24 -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()