view potd/tasks.py @ 764:87490b87c076

Add settings during test to speed things up & disable logging.
author Brian Neal <bgneal@gmail.com>
date Sun, 19 Jan 2014 17:22:49 -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()