view potd/tasks.py @ 1003:fa52bfb28217

Set id on submit news form for image related js.
author Brian Neal <bgneal@gmail.com>
date Thu, 26 Nov 2015 10:47: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()