diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 994c46d0..cdda81be 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,7 @@ Changelog Unreleased ========== +* fix: Add keyword arguments in VersionAdminMixin render_change_form * feat: Reversable generic foreign key lookup from version * fix: formatted files through ruff to fix tests * fix: Remove version check when evaluating CMS PageContent objects diff --git a/djangocms_versioning/admin.py b/djangocms_versioning/admin.py index d82af111..b8783b76 100644 --- a/djangocms_versioning/admin.py +++ b/djangocms_versioning/admin.py @@ -133,7 +133,7 @@ def render_change_form( "versioning_fallback_change_form_template" ] = super().change_form_template - return super().render_change_form(request, context, add, change, form_url, obj) + return super().render_change_form(request, context, add=add, change=change, form_url=form_url, obj=obj) def has_change_permission(self, request, obj=None): # Add additional version checks