Merge branch 'master' into 'Qwann/Serializers'
# Conflicts: # event/models.py
This commit is contained in:
commit
26d7ad474f
1 changed files with 13 additions and 7 deletions
|
@ -30,12 +30,18 @@ class Event(SubscriptionMixin, models.Model):
|
|||
editable=False, null=True,
|
||||
)
|
||||
created_at = models.DateTimeField(
|
||||
_("date de création"),
|
||||
_('date de création'),
|
||||
auto_now_add=True,
|
||||
)
|
||||
description = models.TextField(_("description"))
|
||||
beginning_date = models.DateTimeField(_("date de début"))
|
||||
ending_date = models.DateTimeField(_("date de fin"))
|
||||
description = models.TextField(_('description'))
|
||||
beginning_date = models.DateTimeField(
|
||||
_('date de début'),
|
||||
help_text=_("date publique de l'évènement"),
|
||||
)
|
||||
ending_date = models.DateTimeField(
|
||||
_('date de fin'),
|
||||
help_text=_("date publique de l'évènement"),
|
||||
)
|
||||
|
||||
class Meta:
|
||||
verbose_name = _("évènement")
|
||||
|
|
Loading…
Reference in a new issue