django_program.sponsors.profiles

Sponsor sync profiles.

class django_program.sponsors.profiles.DefaultSponsorProfile[source]

Bases: SponsorSyncProfile

Default profile with no external sponsor sync.

name = 'default'
has_api_sync = False
class django_program.sponsors.profiles.PyConUSSponsorProfile[source]

Bases: SponsorSyncProfile

PyCon US profile that syncs sponsors from the PSF API.

name = 'pyconus'
has_api_sync = True
api_config()[source]

Return PSF sponsor API configuration from settings.

Return type:

PSFSponsorConfig

class django_program.sponsors.profiles.SponsorSyncProfile[source]

Bases: object

Base profile for sponsor sync behavior.

name = 'default'
has_api_sync = False

Modules

base

Base sponsor sync profile.

default

Default sponsor profile: no API sync.

pyconus

PyCon US sponsor profile: syncs from PSF sponsorship API.

resolver

Resolver for selecting conference-specific sponsor profiles.