Files
bugsink/snappea/management/commands/checksnappea.py
2024-05-17 12:03:40 +02:00

12 lines
285 B
Python

from django.core.management.base import BaseCommand
from snappea.example_tasks import fast_task
class Command(BaseCommand):
help = "Send a task to Snappea for debugging"
def handle(self, *args, **options):
print("Sending task to Snappea")
fast_task.delay()