equal
deleted
inserted
replaced
27 |
27 |
28 def is_default_workflow_of(self, etype): |
28 def is_default_workflow_of(self, etype): |
29 """return True if this workflow is the default workflow for the given |
29 """return True if this workflow is the default workflow for the given |
30 entity type |
30 entity type |
31 """ |
31 """ |
32 return any(et for et in self.default_workflow_of if et.name == etype) |
32 return any(et for et in self.reverse_default_workflow |
|
33 if et.name == etype) |
33 |
34 |
34 def after_deletion_path(self): |
35 def after_deletion_path(self): |
35 """return (path, parameters) which should be used as redirect |
36 """return (path, parameters) which should be used as redirect |
36 information when this entity is being deleted |
37 information when this entity is being deleted |
37 """ |
38 """ |