Testing basic layout

This commit is contained in:
Ilan Steemers
2015-06-15 16:02:50 +02:00
parent c74f931930
commit 8c0a26e0b4
13 changed files with 196 additions and 0 deletions
View File
+9
View File
@@ -0,0 +1,9 @@
from django.core.management.base import BaseCommand
from django_q.q import Worker
class Command(BaseCommand):
help = "My shiny new management command."
def handle(self, *args, **options):
q = Worker()
+10
View File
@@ -0,0 +1,10 @@
from django.core.management.base import BaseCommand
from django_q import q
class Command(BaseCommand):
help = "My shiny new management command."
def handle(self, *args, **options):
q.test()