From 4048813ba051329533fd5f58ef751477b0b224b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ses=C3=B3stris=20Vieira?= Date: Tue, 8 Aug 2023 09:20:02 -0300 Subject: [PATCH] =?UTF-8?q?Remove=20bug=20no=20calend=C3=A1rio=20de=20even?= =?UTF-8?q?tos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sigi/apps/eventos/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sigi/apps/eventos/models.py b/sigi/apps/eventos/models.py index 1ef26be..a07c77f 100644 --- a/sigi/apps/eventos/models.py +++ b/sigi/apps/eventos/models.py @@ -198,7 +198,7 @@ class Evento(models.Model): ) def get_absolute_url(self): - return reverse("eventos-evento", args=[self.id]) + return reverse("admin:eventos_evento_change", args=[self.id]) def get_sigad_url(self): m = re.match(