code refactoring
This commit is contained in:
parent
01a6f32403
commit
9f329aee71
|
@ -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(
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue