mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-25 00:13:45 +00:00
Recharge le dns quand on modifie les extensions
This commit is contained in:
parent
db0c9bd2fe
commit
3e5b9e975f
1 changed files with 8 additions and 0 deletions
|
@ -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):
|
||||||
|
regen('dns')
|
||||||
|
|
||||||
|
@receiver(post_delete, sender=Extension)
|
||||||
|
def extension_post_selete(sender, **kwargs):
|
||||||
|
regen('dns')
|
||||||
|
|
||||||
@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')
|
||||||
|
|
Loading…
Reference in a new issue