diff --git a/event/models.py b/event/models.py index 7560ae1..c58b17f 100644 --- a/event/models.py +++ b/event/models.py @@ -30,12 +30,18 @@ class Event(SubscriptionMixin, models.Model): editable=False, null=True, ) created_at = models.DateTimeField( - _("date de création"), - auto_now_add=True, - ) - description = models.TextField(_("description")) - beginning_date = models.DateTimeField(_("date de début")) - ending_date = models.DateTimeField(_("date de fin")) + _('date de création'), + auto_now_add=True, + ) + description = models.TextField(_('description')) + beginning_date = models.DateTimeField( + _('date de début'), + help_text=_("date publique de l'évènement"), + ) + ending_date = models.DateTimeField( + _('date de fin'), + help_text=_("date publique de l'évènement"), + ) class Meta: verbose_name = _("évènement") @@ -213,4 +219,4 @@ class Activity(AbstractActivityTemplate): verbose_name_plural = _("activités") def __str__(self): - return self.get_herited('title') + return self.get_herited('title') \ No newline at end of file