On assure l'initialisation en supprimant la dépendance à une catégorie
par défaut
This commit is contained in:
parent
ea100e6038
commit
4e9336cdb4
@ -338,7 +338,7 @@ class Event(models.Model):
|
|||||||
verbose_name=_("Category"),
|
verbose_name=_("Category"),
|
||||||
help_text=_("Category of the event"),
|
help_text=_("Category of the event"),
|
||||||
null=True,
|
null=True,
|
||||||
default=Category.get_default_category_id(),
|
default=None,
|
||||||
on_delete=models.SET_DEFAULT,
|
on_delete=models.SET_DEFAULT,
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -1348,7 +1348,7 @@ class RecurrentImport(models.Model):
|
|||||||
Category,
|
Category,
|
||||||
verbose_name=_("Category"),
|
verbose_name=_("Category"),
|
||||||
help_text=_("Category of each imported event"),
|
help_text=_("Category of each imported event"),
|
||||||
default=Category.get_default_category_id(),
|
default=None,
|
||||||
on_delete=models.SET_DEFAULT,
|
on_delete=models.SET_DEFAULT,
|
||||||
)
|
)
|
||||||
defaultTags = ArrayField(
|
defaultTags = ArrayField(
|
||||||
|
Loading…
Reference in New Issue
Block a user