This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[defaults] | |
interpreter_python = /usr/bin/python3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Base Models | |
############### | |
Publishable: # abstract | |
""" | |
The most basic entity. If something is not publishable, it has no business | |
being in this app. A publishable entity does not have to have any content or | |
address: it can be a link, or a part of a page. | |
""" | |
title: CharField |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
User settings | |
============= | |
-- Resource type: most general defaults | |
-- A resource is an item for which an event can occur | |
-- The importance attributes assigns general priorities | |
-- Example resource types: port, cpu, temp sensor | |
TABLE resource_type: | |
resource_type_id (PK) , name (string) , | |
alert_warning (bool) , alert_critical (bool) , |