view potd/tasks.py @ 1136:ba1df459f3a8

Upgrade redis to 2.10.5.
author Brian Neal <bgneal@gmail.com>
date Thu, 13 Oct 2016 19:47:21 -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()