On avait (encore) un problème sur les imports sans date

Fix #285
This commit is contained in:
Jean-Marie Favreau 2025-02-08 18:28:21 +01:00
parent 0f575d93c4
commit 123c57d5eb

View File

@ -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))