Sure, fix the docstring

This commit is contained in:
stumpylog
2026-08-06 21:12:41 -07:00
committed by Trenton H
parent d8b0c49772
commit d585121119
+3 -4
View File
@@ -174,10 +174,9 @@ def permitted_object_ids(
"""
Generic version of ``permitted_document_ids`` for any model with an
``owner`` field and guardian object-level permissions. ``include_deleted``
only has an effect for models exposing a ``global_objects``/``deleted_at``
soft-delete pattern (currently only ``Document``); for every other model
it is accepted but has no effect, since those models have no soft-delete
concept.
only has an effect for models exposing a ``global_objects`` manager (the
soft-delete pattern); for every other model it is accepted but has no
effect, since those models have no soft-delete concept.
"""
has_soft_delete = hasattr(model, "global_objects")
manager = (