Kai Diefenbach  committed f1785e6

Added missing user to parameters of WorkflowBase.do_transition method

  • Participants
  • Parent commits cf951ce

Comments (0)

Files changed (1)

File workflows/

         return workflows.utils.get_allowed_transitions(self, user)
-    def do_transition(self, transition):
+    def do_transition(self, transition, user):
         """Processes the passed transition (if allowed).
-        return workflows.utils.do_transition(self, transition)
+        return workflows.utils.do_transition(self, transition, user)
 class Workflow(models.Model):
     """A workflow consists of a sequence of connected (through transitions)