view potd/tasks.py @ 1043:867e84d18b0f

Update to Django 1.8.8.
author Brian Neal <bgneal@gmail.com>
date Fri, 15 Jan 2016 21:41:24 -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()