Skip to content

Commit

Permalink
expose directly the Organizer node
Browse files Browse the repository at this point in the history
  • Loading branch information
bryan-brancotte committed Jul 11, 2024
1 parent 2726b6e commit 7622e30
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion ifbcat_api/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,14 @@ class Meta:
homepage='url',
maxParticipants='maximumAttendeeCapacity',
organisedByOrganisations='organizer',
organisedByTeams='organizer',
organisedByTeams=dict(
schema_attr='organizer',
_type="Organization",
_fields=dict(
name='name',
homepage='url',
),
),
sponsoredBy=dict(schema_attr='funder', schema_type='Organization'),
)
Event_rdf_mapping = dict(
Expand Down

0 comments on commit 7622e30

Please sign in to comment.