From f1f19ba981d3cb856ee7fc77fb1352f9c7187166 Mon Sep 17 00:00:00 2001 From: Josh Yu Date: Mon, 18 Nov 2024 17:15:14 +0800 Subject: [PATCH] fix: isort issue --- djangocms_pageadmin/admin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/djangocms_pageadmin/admin.py b/djangocms_pageadmin/admin.py index bb9638c..d155be0 100644 --- a/djangocms_pageadmin/admin.py +++ b/djangocms_pageadmin/admin.py @@ -93,7 +93,8 @@ def get_queryset(self, request): draft_sub = Subquery(draft_version_lock_subquery.values("locked_by")[:1]) select_related_tuple = ("created_by", "locked_by") else: - from djangocms_version_locking.models import VersionLock # noqa: F401 + from djangocms_version_locking.models import \ + VersionLock # noqa: F401 draft_version_lock_subquery = VersionLock.objects.filter( version__content_type=OuterRef("content_type"), version__object_id=OuterRef("object_id"),