Exemple #1
0
 def save(self,*args,**kwargs):
     expireTemplateCache('header',self.user.username)
     super(GroupInvite,self).save(*args,**kwargs)
 def save(self, *args, **kwargs):
     cache.delete('bestByTime:')
     cache.delete('sorted_sleepers:')
     cache.delete('getPermissions:')
     expireTemplateCache('header',self.user.username)
     super(SleeperProfile, self).save(*args,**kwargs)
Exemple #3
0
 def save(self,*args,**kwargs):
     expireTemplateCache('header',self.requestee.username)
     super(FriendRequest,self).save(*args,**kwargs)
 def delete(self, *args, **kwargs):
     expireTemplateCache('header', self.user.username)
     super(PartialSleep, self).delete(*args,**kwargs)
Exemple #5
0
 def save(self, *args, **kwargs):
     expireTemplateCache('header', self.requestee.username)
     super(FriendRequest, self).save(*args, **kwargs)
Exemple #6
0
 def save(self, *args, **kwargs):
     cache.delete('bestByTime:')
     cache.delete('sorted_sleepers:')
     cache.delete('getPermissions:')
     expireTemplateCache('header', self.user.username)
     super(SleeperProfile, self).save(*args, **kwargs)
Exemple #7
0
 def delete(self, *args, **kwargs):
     expireTemplateCache('header', self.user.username)
     super(PartialSleep, self).delete(*args, **kwargs)
Exemple #8
0
 def save(self, *args, **kwargs):
     expireTemplateCache('header', self.user.username)
     super(GroupInvite, self).save(*args, **kwargs)