Project

General

Profile

Download (374 Bytes) Statistics
| Branch: | Tag: | Revision:

theme / ckanext / ozwillo_theme / plugin.py @ 8b2074ce

1
import ckan.plugins as plugins
2
import ckan.plugins.toolkit as toolkit
3

    
4

    
5
class OzwilloThemePlugin(plugins.SingletonPlugin):
6
    plugins.implements(plugins.IConfigurer)
7

    
8
    def update_config(self, config_):
9
        toolkit.add_template_directory(config_, 'templates')
10
        toolkit.add_public_directory(config_, 'public')
11
        toolkit.add_resource('fanstatic', 'theme')
(2-2/2)