Les événements sont par défaut non publiés (en brouillon)
This commit is contained in:
parent
25f9b8c8e6
commit
0c5dea8e18
@ -141,7 +141,7 @@ class Event(models.Model):
|
||||
|
||||
title = models.CharField(verbose_name=_('Title'), help_text=_('Short title'), max_length=512)
|
||||
|
||||
status = models.CharField(_("Status"), max_length=20, choices=STATUS.choices, default=STATUS.PUBLISHED)
|
||||
status = models.CharField(_("Status"), max_length=20, choices=STATUS.choices, default=STATUS.DRAFT)
|
||||
|
||||
category = models.ForeignKey(Category, verbose_name=_('Category'), help_text=_('Category of the event'), null=True, default=Category.get_default_category_id(), on_delete=models.SET_DEFAULT)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user