refactoring views

This commit is contained in:
Alessio Fabrizio 2024-10-15 11:45:41 +02:00
parent 84ddb7317e
commit 295692fff9
6 changed files with 4 additions and 4 deletions

View File

@ -297,7 +297,7 @@ class D4SciencePlugin(plugins.SingletonPlugin):
# ITemplateHelpers
def get_helpers(self):
return helpers.get_helpers(self)
return helpers.get_helpers()
# IValidators

View File

@ -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(