diff --git a/sigi/apps/eventos/jobs/daily/encerra_inscricao.py b/sigi/apps/eventos/jobs/daily/encerra_inscricao.py index 3670cf1..87b2e65 100644 --- a/sigi/apps/eventos/jobs/daily/encerra_inscricao.py +++ b/sigi/apps/eventos/jobs/daily/encerra_inscricao.py @@ -16,6 +16,7 @@ class Job(JobReportMixin, DailyJob): report_data = [] def do_job(self): + self.report_data = [] hoje = timezone.localtime().replace(hour=23, minute=59, second=59) retroagir = hoje - timezone.timedelta(days=30) diff --git a/sigi/apps/eventos/jobs/daily/sincroniza_saberes.py b/sigi/apps/eventos/jobs/daily/sincroniza_saberes.py index 2e589c1..d412ee3 100644 --- a/sigi/apps/eventos/jobs/daily/sincroniza_saberes.py +++ b/sigi/apps/eventos/jobs/daily/sincroniza_saberes.py @@ -13,6 +13,7 @@ class Job(JobReportMixin, DailyJob): report_data = [] def do_job(self): + self.report_data = [] infos = [] errors = [] total_sinc = 0 diff --git a/sigi/apps/home/templates/menus/menu.html b/sigi/apps/home/templates/menus/menu.html index c96c926..ce8a41b 100644 --- a/sigi/apps/home/templates/menus/menu.html +++ b/sigi/apps/home/templates/menus/menu.html @@ -1,4 +1,4 @@ -{% load menus %} +{% load menus sigi_tags %} {% for menu in menu_items %} {% if menu.children %}