Skip to content

Commit

Permalink
Merge branch 'master' of github.com:fsbraun/djangocms-versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
fsbraun committed Oct 24, 2023
2 parents 16e1252 + c16c177 commit 8a4068f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion djangocms_versioning/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8a4068f

Please sign in to comment.