Event ending_date no longer optional

This commit is contained in:
Ludovic Stephan 2017-07-18 17:31:01 +02:00
parent da75dc7d9c
commit 5b005571d5

View file

@ -28,11 +28,7 @@ class Event(SubscriptionMixin, models.Model):
) )
description = models.TextField(_('description')) description = models.TextField(_('description'))
beginning_date = models.DateTimeField(_('date de début')) beginning_date = models.DateTimeField(_('date de début'))
ending_date = models.DateTimeField( ending_date = models.DateTimeField(_('date de fin'))
_('date de fin'),
blank=True,
null=True,
)
class Meta: class Meta:
verbose_name = _("évènement") verbose_name = _("évènement")