mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-23 03:43:12 +00:00
Fix regeneration service dns
This commit is contained in:
parent
055249d1cd
commit
af6a1acb41
1 changed files with 12 additions and 0 deletions
|
@ -996,3 +996,15 @@ def text_post_save(sender, **kwargs):
|
||||||
def text_post_delete(sender, **kwargs):
|
def text_post_delete(sender, **kwargs):
|
||||||
"""Regeneration dns après modification d'un TX"""
|
"""Regeneration dns après modification d'un TX"""
|
||||||
regen('dns')
|
regen('dns')
|
||||||
|
|
||||||
|
|
||||||
|
@receiver(post_save, sender=Srv)
|
||||||
|
def srv_post_save(sender, **kwargs):
|
||||||
|
"""Regeneration dns après modification d'un SRV"""
|
||||||
|
regen('dns')
|
||||||
|
|
||||||
|
|
||||||
|
@receiver(post_delete, sender=Srv)
|
||||||
|
def text_post_delete(sender, **kwargs):
|
||||||
|
"""Regeneration dns après modification d'un SRV"""
|
||||||
|
regen('dns')
|
||||||
|
|
Loading…
Reference in a new issue