From 5b005571d5ff68228d65678d23a7d1c4edadea6f Mon Sep 17 00:00:00 2001 From: Ludovic Stephan Date: Tue, 18 Jul 2017 17:31:01 +0200 Subject: [PATCH] Event ending_date no longer optional --- event/models.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/event/models.py b/event/models.py index d0e4f94..9cee1ee 100644 --- a/event/models.py +++ b/event/models.py @@ -28,11 +28,7 @@ class Event(SubscriptionMixin, models.Model): ) description = models.TextField(_('description')) beginning_date = models.DateTimeField(_('date de début')) - ending_date = models.DateTimeField( - _('date de fin'), - blank=True, - null=True, - ) + ending_date = models.DateTimeField(_('date de fin')) class Meta: verbose_name = _("évènement")