mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-25 16:56:10 -06:00
6347 fix count
This commit is contained in:
parent
450da3125f
commit
73c9d8584a
@ -42,7 +42,7 @@ class Counter(object):
|
|||||||
)
|
)
|
||||||
|
|
||||||
def post_delete_receiver_counter(sender, instance, **kwargs):
|
def post_delete_receiver_counter(sender, instance, **kwargs):
|
||||||
self.increment(instance, 1)
|
self.increment(instance, -1)
|
||||||
|
|
||||||
post_delete.connect(
|
post_delete.connect(
|
||||||
post_delete_receiver_counter,
|
post_delete_receiver_counter,
|
||||||
|
Loading…
Reference in New Issue
Block a user