Update netbox/netbox/api/viewsets/mixins.py
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
This commit is contained in:
parent
b61c232305
commit
3df0bc8e62
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue