diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 3161dce..ba34f62 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,6 +4,7 @@ Changelog Unreleased ========== +* fix: Filer admin to point correct change form template 1.2.1 (2022-11-14) ================== diff --git a/djangocms_versioning_filer/admin.py b/djangocms_versioning_filer/admin.py index ebd546c..ef1a3cd 100644 --- a/djangocms_versioning_filer/admin.py +++ b/djangocms_versioning_filer/admin.py @@ -6,6 +6,9 @@ class VersioningFilerAdminMixin(VersioningAdminMixin): + # Path for filer change form + change_form_template = 'admin/filer/change_form.html' + def get_fieldsets(self, request, obj=None): version = Version.objects.get_for_content(obj) fieldsets = super().get_fieldsets(request, obj) diff --git a/tests/requirements/requirements_base.txt b/tests/requirements/requirements_base.txt index c5d076c..9f572dc 100644 --- a/tests/requirements/requirements_base.txt +++ b/tests/requirements/requirements_base.txt @@ -11,5 +11,5 @@ mock # Unreleased django-cms 4.0 compatible packages https://github.com/django-cms/django-cms/tarball/release/4.0.1.x#egg=django-cms -https://github.com/django-cms/djangocms-versioning/tarball/master#egg=djangocms-versioning +https://github.com/django-cms/djangocms-versioning/tarball/support/django-cms-4.0.x#egg=djangocms-versioning https://github.com/Aiky30/djangocms-moderation/tarball/master#egg=djangocms-moderation