mirror of
https://github.com/django-q2/django-q2.git
synced 2026-09-30 06:38:11 +08:00
10 lines
220 B
Python
10 lines
220 B
Python
from django.core.management.base import BaseCommand
|
|
from django_q import Cluster
|
|
|
|
|
|
class Command(BaseCommand):
|
|
help = "My shiny new management command."
|
|
|
|
def handle(self, *args, **options):
|
|
q = Cluster()
|