Skip to content

Commit

Permalink
Merge pull request #103 from divio/bugfix/filer-duplicate-feature-fix
Browse files Browse the repository at this point in the history
Bugfix/filer duplicate feature fix
  • Loading branch information
vipulnarang95 committed Jul 21, 2023
2 parents 57755a3 + c6e2abe commit d809f83
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Changelog

Unreleased
==========
* fix: Filer admin to point correct change form template

1.2.1 (2022-11-14)
==================
Expand Down
3 changes: 3 additions & 0 deletions djangocms_versioning_filer/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion tests/requirements/requirements_base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d809f83

Please sign in to comment.