code: def get_all_transitions(self, instance_cls):
          
          transitions = self.transitions[instance_cls]
  
          for name, transition in transitions.items():
              meta = transition._django_fsm
  
              for transition in meta.transitions.values():
                  yield transition
docs: Returns [(source, target, name, method)] for all field transitions