changeset 1 | b90ce037f872 |
parent 0 | 44692d47182f |
child 12 | fc3542685741 |
0:44692d47182f | 1:b90ce037f872 |
---|---|
16 |
16 |
17 |
17 |
18 def includeme(config): |
18 def includeme(config): |
19 """Pyramid include""" |
19 """Pyramid include""" |
20 |
20 |
21 # add translations |
|
22 config.add_translation_dirs('pyams_pagelet:locales') |
|
23 |
|
24 # load registry components |
21 # load registry components |
25 config.scan() |
22 config.scan() |
26 |
23 |
27 if hasattr(config, 'load_zcml'): |
24 if hasattr(config, 'load_zcml'): |
28 config.load_zcml('configure.zcml') |
25 config.load_zcml('configure.zcml') |