mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-22 07:53:19 +01:00
Updated signals code
This commit is contained in:
parent
16bb4d46f1
commit
361ba84295
@ -17,13 +17,14 @@ Signals
|
|||||||
|
|
||||||
Webhooks are triggered through django signals.
|
Webhooks are triggered through django signals.
|
||||||
|
|
||||||
The two existing signals are:
|
The two available signals are:
|
||||||
- new_ticket_done
|
- new_ticket_done
|
||||||
- update_ticket_done
|
- update_ticket_done
|
||||||
|
|
||||||
You have the opportunity to listen to those in your project if you have post processing workflows outside of webhooks::
|
You have the opportunity to listen to those in your project if you have post processing workflows outside of webhooks::
|
||||||
|
|
||||||
|
|
||||||
|
from django.dispatch import receiver
|
||||||
from helpdesk.signals import new_ticket_done, update_ticket_done
|
from helpdesk.signals import new_ticket_done, update_ticket_done
|
||||||
|
|
||||||
@receiver(new_ticket_done)
|
@receiver(new_ticket_done)
|
||||||
|
Loading…
Reference in New Issue
Block a user