12 lines
364 B
Python
12 lines
364 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")
|