Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes made for cms4.1 compatible #96

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: isort issue
  • Loading branch information
Josh Yu committed Nov 18, 2024
commit f1f19ba981d3cb856ee7fc77fb1352f9c7187166
3 changes: 2 additions & 1 deletion djangocms_pageadmin/admin.py
Original file line number Diff line number Diff line change
@@ -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"),
Loading