Mercurial > public > sg101
view potd/tasks.py @ 677:858ce870c854
For #47, create custom search index for models with is_public.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 14 Aug 2013 13:56:43 -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()