We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b9d9a1 commit 0db1a65Copy full SHA for 0db1a65
djangocms_versioning/admin.py
@@ -1,3 +1,5 @@
1
+from __future__ import annotations
2
+
3
import json
4
import warnings
5
from collections import OrderedDict
tests/test_locking.py
@@ -154,8 +154,7 @@ def test_editor_without_delete_versionlock_permission_can_edit_unlocked_content(
154
with self.login_user_context(editor):
155
response = self.client.get(url)
156
157
- # Should succeed with 200 status - this is the key test
158
- # Without delete_versionlock permission, this would return 403
+ # Should succeed with 200 status
159
self.assertEqual(response.status_code, 200)
160
161
def test_editor_without_delete_versionlock_permission_can_edit_their_locked_content(self):
0 commit comments