view potd/tasks.py @ 865:08bae2b1d2d1

Merge with main line.
author Brian Neal <bgneal@gmail.com>
date Wed, 03 Dec 2014 19:24:53 -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()