Commit 3e5b9e97 authored by Maël Kervella's avatar Maël Kervella Committed by Pierre Cadart
Browse files

Recharge le dns quand on modifie les extensions

parent db0c9bd2
...@@ -434,6 +434,14 @@ def domain_post_save(sender, **kwargs): ...@@ -434,6 +434,14 @@ def domain_post_save(sender, **kwargs):
def domain_post_delete(sender, **kwargs): def domain_post_delete(sender, **kwargs):
regen('dns') regen('dns')
@receiver(post_save, sender=Extension)
def extension_post_save(sender, **kwargs):
@receiver(post_delete, sender=Extension)
def extension_post_selete(sender, **kwargs):
@receiver(post_save, sender=Mx) @receiver(post_save, sender=Mx)
def mx_post_save(sender, **kwargs): def mx_post_save(sender, **kwargs):
regen('dns') 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