Changes on server
- bugfixes in gcal callback - requirements txt
This commit is contained in:
@@ -132,6 +132,12 @@ class EventParticipation( models.Model ):
|
||||
def get_username(self):
|
||||
return self.user.username
|
||||
|
||||
def save( self, *args, **kwargs ):
|
||||
prev = EventParticipation.objects.get( event = self.event, user = self.user )
|
||||
if prev.status != self.status or prev.comment != self.comment:
|
||||
super(EventParticipation,self).save( *args,**kwargs)
|
||||
|
||||
|
||||
@staticmethod
|
||||
def hasUserSetParticipationForAllEvents( user ):
|
||||
if not EventParticipation.isMember(user):
|
||||
@@ -177,4 +183,4 @@ class EventParticipation( models.Model ):
|
||||
)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user