mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-08-14 10:08:28 +02:00
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:
@ -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):
|
||||
|
Reference in New Issue
Block a user