Mercurial > public > sg101
view potd/tasks.py @ 679:89b240fe9297
For Django 1.5.2: import json; django.utils.simplejson is deprecated.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 15 Aug 2013 20:14:33 -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()