Mercurial > public > sg101
view potd/tasks.py @ 745:bace7db5678c
Django 1.6: take advantage of new database connection persistence.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 29 Dec 2013 14:52:23 -0600 |
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()