Skip to content

Commit

Permalink
Update admin.py to point to correct change form template
Browse files Browse the repository at this point in the history
  • Loading branch information
vipulnarang95 authored Jul 19, 2023
1 parent 57755a3 commit ef01993
Showing 1 changed file with 3 additions and 0 deletions.
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'

Check warning on line 11 in djangocms_versioning_filer/admin.py

View workflow job for this annotation

GitHub Actions / flake8

blank line contains whitespace
def get_fieldsets(self, request, obj=None):
version = Version.objects.get_for_content(obj)
fieldsets = super().get_fieldsets(request, obj)
Expand Down

0 comments on commit ef01993

Please sign in to comment.