from coprs.views.admin_ns import admin_general from coprs.views import api_ns from coprs.views.api_ns import api_general from coprs.views import coprs_ns from coprs.views.coprs_ns import coprs_builds from coprs.views.coprs_ns import coprs_general from coprs.views.coprs_ns import coprs_chroots from coprs.views import backend_ns from coprs.views.backend_ns import backend_general from coprs.views import misc from coprs.views import status_ns from coprs.views.status_ns import status_general from coprs.views import recent_ns from coprs.views.recent_ns import recent_general from coprs.views.stats_ns import stats_receiver from .context_processors import include_banner setup_log() app.register_blueprint(api_ns.api_ns) app.register_blueprint(admin_ns.admin_ns) app.register_blueprint(coprs_ns.coprs_ns) app.register_blueprint(misc.misc) app.register_blueprint(backend_ns.backend_ns) app.register_blueprint(status_ns.status_ns) app.register_blueprint(recent_ns.recent_ns) app.register_blueprint(stats_receiver.stats_rcv_ns) app.add_url_rule("/", "coprs_ns.coprs_show", coprs_general.coprs_show)
from coprs.views.backend_ns import backend_general from coprs.views import misc from coprs.views import status_ns from coprs.views.status_ns import status_general from coprs.views import recent_ns from coprs.views.recent_ns import recent_general from coprs.views.stats_ns import stats_receiver from coprs.views import tmp_ns from coprs.views.tmp_ns import tmp_general from coprs.views.groups_ns import groups_ns from coprs.views.groups_ns import groups_general from .context_processors import include_banner, inject_fedmenu setup_log() app.register_blueprint(api_ns.api_ns) app.register_blueprint(admin_ns.admin_ns) app.register_blueprint(coprs_ns.coprs_ns) app.register_blueprint(misc.misc) app.register_blueprint(backend_ns.backend_ns) app.register_blueprint(status_ns.status_ns) app.register_blueprint(recent_ns.recent_ns) app.register_blueprint(stats_receiver.stats_rcv_ns) app.register_blueprint(tmp_ns.tmp_ns) app.register_blueprint(groups_ns) app.add_url_rule("/", "coprs_ns.coprs_show", coprs_general.coprs_show) from coprs.rest_api import rest_api_bp, register_api_error_handler, URL_PREFIX