Fixes #276: Delete RoleImages when their DeviceRole is deleted (#279)

* [fix] get only valid role images

* [up] add post delete signals for device roles

* [fix] move signal registration in `apps.py`

* [fix] register signals in plugin config & filter valid role images

* [fix] undo role image filter as it is wrong and unnecessary

* [up] revert formatting with black
This commit is contained in:
Victor Gorchilov authored and GitHub committed 2023-04-20 20:55:58 +02:00
1 parent d3dc955987
commit 3671bbbc78
3 files changed
+20 -2

No files matched your search

+1 -1
View File
@@ -806,4 +806,4 @@ class TopologyIndividualOptionsView(PermissionRequiredMixin, View):
"form": form,
"object": queryset,
},
)
)