From 123c57d5ebadf121d66624d2b48935b386438dcf Mon Sep 17 00:00:00 2001 From: Jean-Marie Favreau Date: Sat, 8 Feb 2025 18:28:21 +0100 Subject: [PATCH] =?UTF-8?q?On=20avait=20(encore)=20un=20probl=C3=A8me=20su?= =?UTF-8?q?r=20les=20imports=20sans=20date?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix #285 --- src/agenda_culturel/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/agenda_culturel/models.py b/src/agenda_culturel/models.py index 15d4209..33a9503 100644 --- a/src/agenda_culturel/models.py +++ b/src/agenda_culturel/models.py @@ -1655,7 +1655,7 @@ class Event(models.Model): for attr in Event.data_fields(all=all, no_m2m=True): if attr == "title" and other.has_invalid_title(): continue - if attr == "start_date" and other.has_invalid_start_date(): + if attr == "start_day" and other.has_invalid_start_date(): continue setattr(self, attr, getattr(other, attr))