Mercurial > public > sg101
annotate gpp/antispam/urls.py @ 515:ae89ba801e8b
For #194, convert the POTD management command to a celery task.
Refactored to put the logic for the command into a function, and the command simply calls this function. The task can also just call this function. Added some basic tests for the new function.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 14 Dec 2011 02:41:15 +0000 |
parents | 8c1832b9d815 |
children | ddd69a8e07c7 |
rev | line source |
---|---|
bgneal@215 | 1 """URLs for the antispam application.""" |
bgneal@215 | 2 from django.conf.urls.defaults import * |
bgneal@215 | 3 |
bgneal@215 | 4 urlpatterns = patterns('antispam.views', |
bgneal@215 | 5 url(r'^suspended/$', 'suspended', name='antispam-suspended'), |
bgneal@215 | 6 ) |