Le organisateurs sont définis si on met à jour
This commit is contained in:
parent
9d84f4f630
commit
bc147016e5
@ -1572,8 +1572,8 @@ class Event(models.Model):
|
|||||||
|
|
||||||
def update(self, other, all):
|
def update(self, other, all):
|
||||||
|
|
||||||
# do not update if all is false
|
# integrate pending organisers
|
||||||
if other.has_pending_organisers() and not all:
|
if other.has_pending_organisers():
|
||||||
self.organisers.set(other.pending_organisers)
|
self.organisers.set(other.pending_organisers)
|
||||||
|
|
||||||
# set attributes
|
# set attributes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user