diff --git a/gestioncof/cms/models.py b/gestioncof/cms/models.py index 3bb757b7..1c88cccf 100644 --- a/gestioncof/cms/models.py +++ b/gestioncof/cms/models.py @@ -31,6 +31,10 @@ class COFRootPage(RoutablePageMixin, Page, COFActuIndexMixin): verbose_name = "Racine site du COF" verbose_name_plural = "Racines site du COF" + @property + def actus(self): + return super().actus[:4] + # Mini calendrier @route(r"^calendar/(\d+)/(\d+)/$") def calendar(self, request, year, month):