From ee411d06a6e77704ec72b4444dc1c11cc19ae50a Mon Sep 17 00:00:00 2001 From: Qwann Date: Wed, 2 Aug 2017 17:28:26 +0200 Subject: [PATCH] help text added --- event/models.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/event/models.py b/event/models.py index eebe9b3..17060b2 100644 --- a/event/models.py +++ b/event/models.py @@ -29,8 +29,14 @@ class Event(SubscriptionMixin, models.Model): auto_now_add=True, ) description = models.TextField(_('description')) - beginning_date = models.DateTimeField(_('date de début')) - ending_date = models.DateTimeField(_('date de fin')) + 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")