mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-22 03:13:12 +00:00
Detection d'ajout d'un Alias et regen du service mail-server
This commit is contained in:
parent
704b933de1
commit
61e6f4937d
1 changed files with 5 additions and 0 deletions
|
@ -1078,6 +1078,11 @@ def user_post_save(**kwargs):
|
|||
)
|
||||
regen('mailing')
|
||||
|
||||
@reciever(post_save, sender=EmailAddress)
|
||||
def EmailAddress_post_save():
|
||||
"""set the mail-server service to be regenerated"""
|
||||
regen('mail-server')
|
||||
|
||||
|
||||
@receiver(m2m_changed, sender=User.groups.through)
|
||||
def user_group_relation_changed(**kwargs):
|
||||
|
|
Loading…
Reference in a new issue