def save(self, *args, **kwargs): super().save(*args, **kwargs) charts_cache.clear_all()
def delete(self, *args, **kwargs): super().delete(*args, **kwargs) charts_cache.clear_all()
def save(self, *args, **kwargs): super().save(*args, **kwargs) self.slug = slugify(f'{self.id}_{self.name}') super().save(*args, **kwargs) charts_cache.clear_all()