Lots of stuff

- changed to single monitor for success and failures
- result is now in django model
- started addings tests
This commit is contained in:
Ilan Steemers
2015-06-16 19:03:00 +02:00
parent f095c52e73
commit 093431e88d
10 changed files with 180 additions and 54 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
from django.core.management.base import BaseCommand
from django_q.q import Worker
from django_q.apps import Worker
class Command(BaseCommand):
+3 -2
View File
@@ -1,10 +1,11 @@
from django.core.management.base import BaseCommand
from django_q import q
from django_q.apps import defer
class Command(BaseCommand):
help = "My shiny new management command."
def handle(self, *args, **options):
q.test()
for i in range(20):
defer('testq.tasks.multiply', 2, i)