Skip to content

Commit

Permalink
fix: isort issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Yu committed Nov 18, 2024
1 parent 83b4df1 commit f1f19ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion djangocms_pageadmin/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit f1f19ba

Please sign in to comment.