diff --git a/apps/activity/models.py b/apps/activity/models.py index c4090f859186558a1024c0a6bbae7007aee820cc..85c32ce9b09f58e7f9f81e64bec88ca6bbdbe5de 100644 --- a/apps/activity/models.py +++ b/apps/activity/models.py @@ -138,6 +138,7 @@ class Activity(models.Model): class Meta: verbose_name = _("activity") verbose_name_plural = _("activities") + unique_together = ("name", "date_start", "date_end",) class Entry(models.Model):