django_program.sponsors.sync¶
Sponsor sync service for pulling sponsors from the PSF API.
Classes
Sync sponsors from the PSF sponsorship API. |
- class django_program.sponsors.sync.SponsorSyncService[source]¶
Bases:
objectSync sponsors from the PSF sponsorship API.
- Parameters:
conference (
Conference) – The conference to sync sponsors for.- Raises:
ValueError – If the conference does not support PSF sponsor sync.
- __init__(conference)[source]¶
Initialize the sync service for a conference.
- Parameters:
conference (
Conference) – The conference to sync sponsors for.- Raises:
ValueError – If the conference does not support PSF sponsor sync.