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)
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)
def save(self, *args, **kwargs): expireTemplateCache('header', self.requestee.username) super(FriendRequest, 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)
def delete(self, *args, **kwargs): expireTemplateCache('header', self.user.username) super(PartialSleep, self).delete(*args, **kwargs)
def save(self, *args, **kwargs): expireTemplateCache('header', self.user.username) super(GroupInvite, self).save(*args, **kwargs)