Update netbox/netbox/api/viewsets/mixins.py

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
This commit is contained in:
bctiemann 2026-07-14 22:12:28 -04:00 committed by GitHub
parent b61c232305
commit 3df0bc8e62
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -389,7 +389,7 @@ class BulkDestroyModelMixin:
'errors': {
'__all__': _(
'Unable to delete: {n} dependent object(s) prevent deletion.'
).format(n=n),
).format(n=len(protected)),
},
})
if errors: