haikal/inventory/management/commands/test_task_process_running.py
2025-05-04 15:57:24 +03:00

13 lines
365 B
Python

from django.core.management.base import BaseCommand
# from background_task.models import Task
# from background_task import background
# from django_q.tasks import async_task
from inventory.tasks import send_email
class Command(BaseCommand):
def handle(self, *args, **kwargs):
send_email('ismail.mosa@gmail.com', 'teset1@gmail.com', 'test', 'test')