Add comment field to subevents (Z#23148472) (#4099)

* Add comment field to subevents (Z#23148472)

* Review fix
This commit is contained in:
Raphael Michel
2024-04-22 12:56:29 +02:00
committed by GitHub
parent a73c8f580d
commit fb403dad88
10 changed files with 35 additions and 3 deletions

View File

@@ -1465,6 +1465,10 @@ class SubEvent(EventMixin, LoggedModel):
items = models.ManyToManyField('Item', through='SubEventItem')
variations = models.ManyToManyField('ItemVariation', through='SubEventItemVariation')
comment = models.TextField(
verbose_name=_("Internal comment"),
null=True, blank=True
)
last_modified = models.DateTimeField(
auto_now=True, db_index=True