oidc / ckanext / ozwillo_pyoidc / plugin.py @ b169c797
1 |
import ckan.plugins as plugins |
---|---|
2 |
import ckan.plugins.toolkit as toolkit |
3 |
|
4 |
|
5 |
class OzwilloPyoidcPlugin(plugins.SingletonPlugin): |
6 |
plugins.implements(plugins.IConfigurer) |
7 |
|
8 |
# IConfigurer
|
9 |
|
10 |
def update_config(self, config_): |
11 |
toolkit.add_template_directory(config_, 'templates') |
12 |
toolkit.add_public_directory(config_, 'public') |
13 |
toolkit.add_resource('fanstatic', 'ozwillo_pyoidc') |
- « Précédent
- 1
- 2
- Suivant »