noc.main.models.systemtemplate

Module Contents

class noc.main.models.systemtemplate.SystemTemplate

Bases: noc.core.model.base.NOCModel

class Meta

Bases: object

app_label = main
db_table = main_systemtemplate
verbose_name = System template
verbose_name_plural = System templates
ordering = ['name']
name
description
template
__str__(self)
render_subject(self, LANG=None, **kwargs)
render_body(self, LANG=None, **kwargs)
classmethod notify_users(cls, name, users, **kwargs)

Send notifications via template to users :param name: System template name :param users: List of User instances or id’s