view potd/tasks.py @ 772:6bea6bc69e69

Update requirements files for Django 1.6.2.
author Brian Neal <bgneal@gmail.com>
date Sat, 08 Feb 2014 13:16:08 -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()