Commit b5b0cbc9 authored by Maël Kervella's avatar Maël Kervella Committed by Pierre Cadart

Recharge le dns quand on modifie les extensions

parent b40bc970
......@@ -426,6 +426,14 @@ def domain_post_save(sender, **kwargs):
def domain_post_delete(sender, **kwargs):
regen('dns')
@receiver(post_save, sender=Extension)
def extension_post_save(sender, **kwargs):
regen('dns')
@receiver(post_delete, sender=Extension)
def extension_post_selete(sender, **kwargs):
regen('dns')
@receiver(post_save, sender=Mx)
def mx_post_save(sender, **kwargs):
regen('dns')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment