+ def save(self, *args, **kwargs):
+ ret = super(Chunk, self).save(*args, **kwargs)
+ self.flush_includes()
+ return ret
+
+ def flush_includes(self):
+ flush_ssi_includes([
+ '/chunks/chunk/%s.%s.html' % (self.key, lang)
+ for lang in [lc for (lc, _ln) in settings.LANGUAGES]])
+
+