Add celery task for get_email

Allows you to get_email even without cron, thus enabling the use of django-helpdesk of cronless PaaS services.
This commit is contained in:
Timothy Hobbs
2018-11-07 15:01:41 +01:00
parent 09d8f8c488
commit e96f1559e7
4 changed files with 22 additions and 6 deletions

View File

@ -15,6 +15,10 @@ from django.views.generic import TemplateView
from helpdesk.decorators import helpdesk_staff_member_required, protect_view
from helpdesk import settings as helpdesk_settings
from helpdesk.views import feeds, staff, public, kb
try:
import helpdesk.tasks
except ImportError:
pass
class DirectTemplateView(TemplateView):