4👍
✅
You have to call the view with the request and the primary key, for example:
EditAutomation.as_view()(request, pk=self.rule.id)
Source:stackexchange.com
4👍
You have to call the view with the request and the primary key, for example:
EditAutomation.as_view()(request, pk=self.rule.id)