Exemplo n.º 1
0
 def up(self):
     self.app.version = (0,5,0)
     
     orgs = Organizations()
     orgs.title = u'Organizations'
     self.app['orgs'] = orgs
     
     catalog = zope.component.queryUtility(ICatalog, 'gum_catalog')
     catalog['organization_id'] = FieldIndex('__name__', IOrganization)
     
     return "Organizations Container added. organization_id Index added."
Exemplo n.º 2
0
    def up(self):
        self.app.version = (0, 5, 0)

        orgs = Organizations()
        orgs.title = u'Organizations'
        self.app['orgs'] = orgs

        catalog = zope.component.queryUtility(ICatalog, 'gum_catalog')
        catalog['organization_id'] = FieldIndex('__name__', IOrganization)

        return "Organizations Container added. organization_id Index added."
Exemplo n.º 3
0
Arquivo: ldapapp.py Projeto: bcgsc/gum
 def __init__(self):
     super(LDAPApp, self).__init__()
     self.title = 'Home' # for navigation
     self['groups'] = Groups()
     self['groups'].title = 'Groups'
     self['users'] = Users()
     self['users'].title = 'Users'
     self['transcripts'] = Transcripts()
     self['transcripts'].title = 'Transcripts'
     self['orgs'] = Organizations()
     self['orgs'].title = 'Organizations'
     self['smart'] = SmartSearches()
     self['smart'].title = 'Smart Searches'
     self['extensions'] = Extensions()
     self['extensions'].title = 'Extensions'
Exemplo n.º 4
0
 def __init__(self):
     super(LDAPApp, self).__init__()
     self.title = 'Home'  # for navigation
     self['groups'] = Groups()
     self['groups'].title = 'Groups'
     self['users'] = Users()
     self['users'].title = 'Users'
     self['transcripts'] = Transcripts()
     self['transcripts'].title = 'Transcripts'
     self['orgs'] = Organizations()
     self['orgs'].title = 'Organizations'
     self['smart'] = SmartSearches()
     self['smart'].title = 'Smart Searches'
     self['extensions'] = Extensions()
     self['extensions'].title = 'Extensions'