Mercurial > public > sg101
view potd/tasks.py @ 905:be233ba7ca31
Reworked registration process.
Previous one proved too challenging for some humans.
Hopefully made it simpler but still unusual to confuse bots.
Increased test coverage also.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 08 Mar 2015 11:06:07 -0500 |
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()