Add possibility for endless events
This commit is contained in:
parent
1d07c5e8fd
commit
f1afadda76
1 changed files with 4 additions and 1 deletions
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue