view potd/tasks.py @ 1052:37bc59f22967

Update to Django 1.8.10.
author Brian Neal <bgneal@gmail.com>
date Wed, 02 Mar 2016 20:18:55 -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()