Set verbose name of Event.seating_plan

This commit is contained in:
Raphael Michel
2021-08-24 12:25:42 +02:00
parent e564952148
commit b200ca5ad5

View File

@@ -495,7 +495,7 @@ class Event(EventMixin, LoggedModel):
default=False default=False
) )
seating_plan = models.ForeignKey('SeatingPlan', on_delete=models.PROTECT, null=True, blank=True, seating_plan = models.ForeignKey('SeatingPlan', on_delete=models.PROTECT, null=True, blank=True,
related_name='events') related_name='events', verbose_name=_('Seating plan'))
last_modified = models.DateTimeField( last_modified = models.DateTimeField(
auto_now=True, db_index=True auto_now=True, db_index=True