Settings
Settings to control the behavior of this library.
- notifications_api_common.settings.CAMELIZE_KANAAL_KENMERKEN = True
Whether to camelize kanaal kenmerken within kanaal description
- notifications_api_common.settings.CLOUDEVENT_SPECVERSION = '1.0'
The used cloudevent specification version
- notifications_api_common.settings.IS_HTTPS = True
Indicate if HTTPS is used
- notifications_api_common.settings.LOG_NOTIFICATIONS_IN_DB = False
Indicates whether or not failed notifications/cloud events should be saved to the database.
- notifications_api_common.settings.NOTIFICATIONS_API_GET_DOMAIN = 'notifications_api_common.utils.get_site_domain'
Dotpath of the function used to get the domain of the application
- notifications_api_common.settings.NOTIFICATIONS_DISABLED = False
Enable or disable sending of notifications/cloud events
- notifications_api_common.settings.NOTIFICATIONS_GUARANTEE_DELIVERY = True
Whether to raise a RuntimeError if the Notifications API is unconfigured when trying to send a notification/cloud event
- notifications_api_common.settings.NOTIFICATIONS_SOURCE = ''
The identifier of the application to use as the source in notifications and cloudevents
- notifications_api_common.settings.NOTIFICATION_NUMBER_OF_DAYS_RETAINED = 60
the number of days for which you wish to keep failed notifications/cloud events in the database
- notifications_api_common.settings.TIME_LEEWAY = 0
Time validation leeway in seconds