Files
mayan-edms/mayan/apps/document_states/handlers.py
2015-04-07 17:01:07 -04:00

9 lines
192 B
Python

from __future__ import unicode_literals
from .models import Workflow
def launch_workflow(sender, instance, created, **kwargs):
if created:
Workflow.objects.launch_for(instance)