File "site-packages/wagtail/admin/modal_workflow.py", line 11, in render_modal_workflow
raise TypeError("Passing a js_template argument to render_modal_workflow is no longer supported")
TypeError: Passing a js_template argument to render_modal_workflow is no longer supported
After upgrading wagtail to 2.12.4 chooser modal does not work, relevant error from stacktrace is
paginate function indeed does not have
per_page
.Quick fix for this error, yields another error: