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

@@ -472,7 +472,8 @@ class SubEventSerializer(I18nAwareModelSerializer):
fields = ('id', 'name', 'date_from', 'date_to', 'active', 'date_admission',
'presale_start', 'presale_end', 'location', 'geo_lat', 'geo_lon', 'event', 'is_public',
'frontpage_text', 'seating_plan', 'item_price_overrides', 'variation_price_overrides',
'meta_data', 'seat_category_mapping', 'last_modified', 'best_availability_state')
'meta_data', 'seat_category_mapping', 'last_modified', 'best_availability_state',
'comment')
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)