Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

vigiboard / vigiboard / model / __init__.py @ d3c47597

History | View | Annotate | Download (713 Bytes)

1
# -*- coding: utf-8 -*-
2
"""The application's model objects"""
3

    
4
from vigilo.models.session import DBSession
5
from vigilo.models.vigilo_bdd_config import metadata
6

    
7
metadata.bind = DBSession.bind
8

    
9

    
10
#####
11
# Generally you will not want to define your table's mappers, and data objects
12
# here in __init__ but will want to create modules them in the model directory
13
# and import them at the bottom of this file.
14
#
15
######
16

    
17
# Import your model modules here.
18
from vigilo.models import User, UserGroup, Permission
19
from vigilo.models import Events, EventHistory, Graph, \
20
    GraphGroups, GraphToGroups, Groups, GroupPermissions, HostGroups, Host, \
21
    PerfDataSource, ServiceGroups, ServiceHautNiveau, Service, ServiceTopo
22