Add possibility for endless events

This commit is contained in:
Ludovic Stephan 2017-07-15 17:50:58 +02:00
parent 1d07c5e8fd
commit f1afadda76

View file

@ -28,7 +28,10 @@ class Event(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(_('date de fin')) ending_date = models.DateTimeField(
_('date de fin'),
blank=True
)
class Meta: class Meta:
verbose_name = _("évènement") verbose_name = _("évènement")