23 lines
537 B
Python
23 lines
537 B
Python
from flask import 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(
|
|
"d4science", __name__)
|
|
|
|
|
|
def page():
|
|
return "Hello, d4science!"
|
|
|
|
|
|
d4science.add_url_rule(
|
|
"/d4science/page", view_func=page)
|
|
|
|
|
|
def get_blueprints():
|
|
all_blueprints = [d4science, d4science_home, organization_vre, d4s_type_blueprint]
|
|
return all_blueprints
|