From c448c9abf021b2e3d602efa724ab099d004b373e Mon Sep 17 00:00:00 2001 From: Josh Yu Date: Mon, 4 Nov 2024 14:28:35 +0800 Subject: [PATCH] fix: flake8 & isort issue --- djangocms_version_locking/monkeypatch/admin.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/djangocms_version_locking/monkeypatch/admin.py b/djangocms_version_locking/monkeypatch/admin.py index 9ed4616..f549df8 100644 --- a/djangocms_version_locking/monkeypatch/admin.py +++ b/djangocms_version_locking/monkeypatch/admin.py @@ -6,7 +6,10 @@ StateIndicatorMixin, ) from djangocms_versioning.constants import INDICATOR_DESCRIPTIONS -from djangocms_versioning.helpers import get_latest_admin_viewable_content, version_list_url +from djangocms_versioning.helpers import ( + get_latest_admin_viewable_content, + version_list_url, +) from djangocms_versioning.indicators import content_indicator @@ -59,6 +62,6 @@ def _get_manage_versions_link(self, obj, request, disabled=False): ) -ExtendedVersionAdminMixin._get_manage_versions_link = _get_manage_versions_link +ExtendedVersionAdminMixin._get_manage_versions_link = _get_manage_versions_link ExtendedVersionAdminMixin.get_actions_list = _get_actions_list(ExtendedVersionAdminMixin.get_actions_list) StateIndicatorMixin.get_indicator_column = _get_indicator_column(StateIndicatorMixin.get_indicator_column)