view potd/tasks.py @ 644:d63c8ccc29a7

Get home page slideshow images from MEDIA, not STATIC.
author Brian Neal <bgneal@gmail.com>
date Sun, 10 Mar 2013 13:09:00 -0500
parents ee87ea74d46b
children aeafbf3ecebf
line wrap: on
line source
"""
Celery tasks for the POTD app.

"""
from celery.task import task

import potd.tools


@task
def pick_potd():
    potd.tools.pick_potd()