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

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

Alterada a configuração do ArchGenXML

File size: 834 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
21DEPENDENCIES = ['Archetypes']
22
23##/code-section config-bottom
24
25
26# load custom configuration not managed by ArchGenXML
27try:
28    from Products.ILPortal.AppConfig import *
29except ImportError:
30    pass
31
32# 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.