Modèles de commentaires et de notifications #18
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