From e54f29832fbfdf41c6fba02237a993110713513c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ses=C3=B3stris=20Vieira?= Date: Tue, 3 Oct 2023 10:03:14 -0300 Subject: [PATCH] =?UTF-8?q?Ajustes=20solicitados=20na=20homologa=C3=A7?= =?UTF-8?q?=C3=A3o=20do=20Gertiq=20#163655=20-=20complemento?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sigi/apps/eventos/admin.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/sigi/apps/eventos/admin.py b/sigi/apps/eventos/admin.py index d07a2db..2213524 100644 --- a/sigi/apps/eventos/admin.py +++ b/sigi/apps/eventos/admin.py @@ -1173,15 +1173,5 @@ class EventoAdmin(CartExportMixin, admin.ModelAdmin): ), level=messages.SUCCESS, ) - if evento.total_participantes != evento.inscritos_saberes: - self.message_user( - request, - _( - "O total de participantes ficou em " - f"{evento.total_participantes} alunos, pois o campo " - "já estava preenchido." - ), - level=messages.WARNING, - ) return redirect(change_url)