def transition(obj, *args, **kwargs):
    from .models import System
    return System.get(obj).transition(*args, **kwargs)
Creates an immediate state transition.
dataset/ETHPy150Open chop-dbhi/django-sts/sts/shortcuts.py/transition