view potd/tasks.py @ 1042:be071e6db77c

Add comments icon on news story.
author Brian Neal <bgneal@gmail.com>
date Fri, 15 Jan 2016 21:36:01 -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()