diff --git a/helpers.py b/helpers.py index db75ab1..1009e5b 100644 --- a/helpers.py +++ b/helpers.py @@ -132,7 +132,7 @@ def changeform_view( extra_context.update( { - "actions_submit_line": self.get_actions_submit_line(request, object_id=int(object_id)), + "actions_submit_line": self.get_actions_submit_line(request, object_id=int(object_id) if object_id is not None else None), "actions_detail": actions, } )