feriennet.sponsors
Classes
Functions
|
Package Contents
- class feriennet.sponsors.Sponsor(**kwargs: Any)[source]
- __slots__ = ('name', 'logo', 'logo_url', 'mail_url', 'background', 'height', 'width', 'top', 'banners')[source]
- compiled(request: onegov.feriennet.request.FeriennetRequest, data: None = None) Self [source]
- compiled(request: onegov.feriennet.request.FeriennetRequest, data: dict[str, Any]) dict[str, Any]
Returns an instance of the sponsor with all data localized and all variables replaced with the related values.
This turns the following sponsor:
url: de: Ja {timestamp} fr: Oui {timestamp} it: Si {timestamp}
Into this:
url: Ja