view potd/tasks.py @ 1013:c6bd7308de49

Update to Django 1.7.11.
author Brian Neal <bgneal@gmail.com>
date Sat, 28 Nov 2015 22:16:29 -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()