diff --git a/finder/admin/label.py b/finder/admin/label.py index 9b520becc..195546985 100644 --- a/finder/admin/label.py +++ b/finder/admin/label.py @@ -18,4 +18,3 @@ class Meta: class LabelAdmin(admin.ModelAdmin): form = LabelForm list_display = ['name'] - diff --git a/finder/contrib/common/admin.py b/finder/contrib/common/admin.py index 6938445aa..ce31ed3a7 100644 --- a/finder/contrib/common/admin.py +++ b/finder/contrib/common/admin.py @@ -14,7 +14,7 @@ def get_editor_settings(self, request, inode): settings = super().get_editor_settings(request, inode) settings.update( react_component='Common', - replace_file= True, + replace_file=True, download_file=True, ) return settings @@ -23,7 +23,7 @@ def get_editor_settings(self, request, inode): class PDFFileAdmin(CommonAdmin): def get_editor_settings(self, request, inode): settings = super().get_editor_settings(request, inode) - settings.update(view_original= True) + settings.update(view_original=True) return settings