mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-01-08 23:20:07 +01:00
fedcca42ad
Following https://docs.celeryproject.org/en/stable/internals/deprecation.html the importing of the celery task decorator needs to be updated for use with the current version of the celery package.
9 lines
130 B
Python
9 lines
130 B
Python
from celery import shared_task
|
|
|
|
from .email import process_email
|
|
|
|
|
|
@shared_task
|
|
def helpdesk_process_email():
|
|
process_email()
|