Subevent: add missing verbose_name for seating plan (#2194)

This commit is contained in:
Richard Schreiber
2021-09-07 09:09:16 +02:00
committed by GitHub
parent 36e6f10b37
commit a27b8bf213

View File

@@ -1284,7 +1284,7 @@ class SubEvent(EventMixin, LoggedModel):
verbose_name=_("Frontpage text")
)
seating_plan = models.ForeignKey('SeatingPlan', on_delete=models.PROTECT, null=True, blank=True,
related_name='subevents')
related_name='subevents', verbose_name=_('Seating plan'))
items = models.ManyToManyField('Item', through='SubEventItem')
variations = models.ManyToManyField('ItemVariation', through='SubEventItemVariation')