diff options
Diffstat (limited to 'src/workflow/models.py')
-rw-r--r-- | src/workflow/models.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/workflow/models.py b/src/workflow/models.py index 0521165..9d1fac2 100644 --- a/src/workflow/models.py +++ b/src/workflow/models.py @@ -224,18 +224,9 @@ class WorkflowStep(object): template = get_template(self.template) return template.render(self.get_context(), request) - def post_render(self, request): - self.post(request.POST, request.user) - return self.render(request) - def post(self, post_content, user): raise Exception("WorkflowStep subclass of type " + str(type(self)) + " has no concrete post() method") - def test_render(self, request): - if request.method == "POST": - return self.post_render(request) - return self.render(request) - def validate(self, request): pass |