geonode.monitoring

Subpackages

Submodules

Attributes

has_notifications

log

default_app_config

Classes

NotificationsAppConfigBase

Base class for AppConfig notifications setup

MonitoringAppConfig

Base class for AppConfig notifications setup

Functions

run_setup_hooks(*args, **kwargs)

Package Contents

class geonode.monitoring.NotificationsAppConfigBase[source]

Bases: django.apps.AppConfig

Base class for AppConfig notifications setup

You should subclass it and provide list of notifications in NOTIFICATIONS attribute to automatically register to post_migrate signal.

NOTIFICATIONS
_get_logger()[source]
_register_notifications(*args, **kwargs)[source]
ready()[source]
geonode.monitoring.has_notifications[source]
geonode.monitoring.log[source]
geonode.monitoring.run_setup_hooks(*args, **kwargs)[source]
class geonode.monitoring.MonitoringAppConfig[source]

Bases: geonode.notifications_helper.NotificationsAppConfigBase

Base class for AppConfig notifications setup

You should subclass it and provide list of notifications in NOTIFICATIONS attribute to automatically register to post_migrate signal.

name = 'geonode.monitoring'[source]
NOTIFICATION_NAME = 'monitoring_alert'[source]
NOTIFICATIONS[source]
ready()[source]
geonode.monitoring.default_app_config = 'geonode.monitoring.MonitoringAppConfig'[source]