django-helpdeskmig/helpdesk/tasks.py

9 lines
129 B
Python
Raw Normal View History

2021-02-01 02:27:37 +01:00
from celery.decorators import task
from .email import process_email
@task()
def helpdesk_process_email():
process_email()