+ def flush_includes(self):
+ flush_ssi_includes([
+ template % (self.pk, lang)
+ for template in [
+ '/wesprzyj/o/%d/top-bar.%s.html',
+ '/wesprzyj/o/%d/detail-bar.%s.html',
+ '/wesprzyj/o/%d/list-bar.%s.html',
+ '/wesprzyj/o/%d/status.%s.html',
+ '/wesprzyj/o/%d/status-more.%s.html',
+ ] + [
+ '/wesprzyj/o/%%d/fundings/%d.%%s.html' % page
+ for page in range(1, len(self.funding_payed()) // 10 + 2)
+ ]
+ for lang in [lc for (lc, _ln) in settings.LANGUAGES]
+ ])
+