view potd/tasks.py @ 990:81b96f3c9e59

Reorganized requirements files to be DRY.
author Brian Neal <bgneal@gmail.com>
date Sat, 31 Oct 2015 17:36:31 -0500
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()