equal
deleted
inserted
replaced
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_template:locales') |
|
23 |
|
24 # define configuration settings |
21 # define configuration settings |
25 from pyams_template import template |
22 from pyams_template import template |
26 template.configuration_settings = config.registry.settings |
23 template.configuration_settings = config.registry.settings |
27 |
24 |
28 # load registry components |
25 # load registry components |