source: publico/ILPortal/trunk/config.py @ 517

Última Alteração nesse arquivo desde 517 foi 517, incluída por paulovieira, 15 anos atrás

Altecao no modelo ILPortal, adicionando as classes Parlamentar, Telefone e Mesa Diretora

File size: 802 bytes
Linha 
1#
2# Product configuration. This contents of this module will be imported into
3# __init__.py and every content type module.
4#
5# If you wish to perform custom configuration, you may put a file AppConfig.py
6# in your product's root directory. This will be included in this file if
7# found.
8#
9from Products.CMFCore.CMFCorePermissions import setDefaultRoles
10
11PROJECTNAME = "ILPortal"
12
13# Permissions
14DEFAULT_ADD_CONTENT_PERMISSION = "Add portal content"
15setDefaultRoles(DEFAULT_ADD_CONTENT_PERMISSION, ('Manager', 'Owner', 'Member'))
16
17product_globals=globals()
18
19##code-section config-bottom #fill in your manual code here
20##/code-section config-bottom
21
22
23# load custom configuration not managed by ArchGenXML
24try:
25    from Products.ILPortal.AppConfig import *
26except ImportError:
27    pass
28
29# End of config.py
Note: Veja TracBrowser para ajuda no uso do navegador do trac.
 

The contents and data of this website are published under license:
Creative Commons 4.0 Brasil - Atribuir Fonte - Compartilhar Igual.