code refactoring

This commit is contained in:
Alessio Fabrizio 2024-10-14 09:44:58 +02:00
parent 01a6f32403
commit 9f329aee71
5 changed files with 4 additions and 6 deletions

View File

@ -1,8 +1,8 @@
from flask import Blueprint
from ckanext.d4science.controllers.home import d4science_home
from ckanext.d4science.controllers.organization import organization_vre
from ckanext.d4science.controllers.systemtype import d4s_type_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
d4science = Blueprint(

View File

@ -2,12 +2,10 @@
#from ckan.controllers.home import HomeController
from flask import Blueprint, render_template, g
import ckan.plugins as p
from ckan.common import OrderedDict, _, g, c
from ckan.common import OrderedDict, _, g
import ckan.lib.search as search
import ckan.model as model
import ckan.logic as logic
import ckan.lib.maintain as maintain
import ckan.lib.base as base
import ckan.lib.helpers as h
#blueprint definition