diff --git a/ckanext/d4science/plugin.py b/ckanext/d4science/plugin.py index 66dea92..b07ddcf 100644 --- a/ckanext/d4science/plugin.py +++ b/ckanext/d4science/plugin.py @@ -297,7 +297,7 @@ class D4SciencePlugin(plugins.SingletonPlugin): # ITemplateHelpers def get_helpers(self): - return helpers.get_helpers(self) + return helpers.get_helpers() # IValidators diff --git a/ckanext/d4science/views.py b/ckanext/d4science/views.py index 04bad84..ce17a6a 100644 --- a/ckanext/d4science/views.py +++ b/ckanext/d4science/views.py @@ -1,8 +1,8 @@ from flask import Blueprint -from ckanext.d4science.views.home import d4science_home -from ckanext.d4science.views.organization import organization_vre -from ckanext.d4science.views.systemtype import d4s_type_blueprint +from ckanext.d4science.views_routes.home import d4science_home +from ckanext.d4science.views_routes.organization import organization_vre +from ckanext.d4science.views_routes.systemtype import d4s_type_blueprint d4science = Blueprint( diff --git a/ckanext/d4science/views/__init__.py b/ckanext/d4science/views_routes/__init__.py similarity index 100% rename from ckanext/d4science/views/__init__.py rename to ckanext/d4science/views_routes/__init__.py diff --git a/ckanext/d4science/views/home.py b/ckanext/d4science/views_routes/home.py similarity index 100% rename from ckanext/d4science/views/home.py rename to ckanext/d4science/views_routes/home.py diff --git a/ckanext/d4science/views/organization.py b/ckanext/d4science/views_routes/organization.py similarity index 100% rename from ckanext/d4science/views/organization.py rename to ckanext/d4science/views_routes/organization.py diff --git a/ckanext/d4science/views/systemtype.py b/ckanext/d4science/views_routes/systemtype.py similarity index 100% rename from ckanext/d4science/views/systemtype.py rename to ckanext/d4science/views_routes/systemtype.py