mirror of
https://github.com/jlengrand/bugsink.git
synced 2026-03-10 08:01:17 +00:00
12 lines
285 B
Python
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()
|