Mercurial > public > sg101
view potd/tasks.py @ 726:f0b997651497
For #54, provide a flag to skip search queue processing.
This is useful when we are rebuilding the index.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 22 Sep 2013 12:00:46 -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()