add database setup at configure time

This commit is contained in:
David Raznick 2011-05-31 18:06:26 +01:00
parent 264b606c48
commit 79fd966573
1 changed files with 2 additions and 1 deletions

View File

@ -9,6 +9,7 @@ import ckan.lib.helpers as h
from ckan.plugins import implements, SingletonPlugin
from ckan.plugins import IRoutes, IConfigurer
from ckan.plugins import IConfigurable, IGenshiStreamFilter
from ckanext.harvest.model import setup
log = getLogger(__name__)
@ -19,7 +20,7 @@ class Harvest(SingletonPlugin):
implements(IConfigurer, inherit=True)
def configure(self, config):
pass
setup()
def before_map(self, map):