diff --git a/src/agenda_culturel/models.py b/src/agenda_culturel/models.py index 0a8c720..2e74cb6 100644 --- a/src/agenda_culturel/models.py +++ b/src/agenda_culturel/models.py @@ -120,8 +120,6 @@ class Event(models.Model): tags = ArrayField(models.CharField(max_length=64), verbose_name=_('Tags'), help_text=_("A list of tags that describe the event."), blank=True, null=True) - def single_day(self): - return not self.end_day or self.end_day == self.start_day def get_absolute_url(self): return reverse("view_event", kwargs={"pk": self.pk, "extra": slugify(self.title)}) diff --git a/src/agenda_culturel/templates/agenda_culturel/day-inc.html b/src/agenda_culturel/templates/agenda_culturel/day-inc.html index 8f560f2..1d02ff2 100644 --- a/src/agenda_culturel/templates/agenda_culturel/day-inc.html +++ b/src/agenda_culturel/templates/agenda_culturel/day-inc.html @@ -30,7 +30,7 @@