Esempio n. 1
0
Including another URLconf
    1. Add a URL to urlpatterns:  url(r'^blog/', include('blog.urls'))
"""
from django.conf.urls import url, include
from django.contrib import admin

from core_parser_app.tools.modules.discover import discover_modules

urlpatterns = [
    url(r'^admin/', include(admin.site.urls)),
    url(r'^', include("core_main_registry_app.urls")),
    url(r'^home/', include("nmrr_home.urls")),
    url(r'^', include("core_website_app.urls")),
    url(r'^curate/', include("core_curate_registry_app.urls")),
    url(r'^parser/', include("core_parser_app.urls")),
    url(r'^explore/common/', include("core_explore_common_app.urls")),
    url(r'^explore/keyword/',
        include("core_explore_keyword_registry_app.urls")),
    url(r'^oaipmh_search/', include("core_explore_oaipmh_app.urls")),
    url(r'^dashboard/', include("core_dashboard_registry_app.urls")),
    url(r'^oai_pmh/', include("core_oaipmh_harvester_app.urls")),
    url(r'^oai_pmh/server/', include("core_oaipmh_provider_app.urls")),
    url(r'^', include('core_module_local_id_registry_app.urls')),
    url(r'^', include('core_module_status_registry_app.urls')),
    url(r'^', include('core_module_fancy_tree_registry_app.urls')),
    url(r'^', include('core_module_text_area_app.urls')),
]

# TODO: see if we can automate the discovery and run it from parser app
discover_modules(urlpatterns)
Esempio n. 2
0
File: urls.py Progetto: ztrautt/MDCS
from core_parser_app.tools.modules.discover import discover_modules


urlpatterns = [
    url(r'^admin/', include(admin.site.urls)),
    url(r'^o/', include('oauth2_provider.urls', namespace='oauth2_provider')),
    url(r'^', include("core_main_app.urls")),
    url(r'^home/', include("mdcs_home.urls")),
    url(r'^', include("core_website_app.urls")),
    url(r'^curate/', include("core_curate_app.urls")),
    url(r'^composer/', include("core_composer_app.urls")),
    url(r'^parser/', include("core_parser_app.urls")),
    url(r'^exporter/', include("core_exporters_app.urls")),
    url(r'^explore/common/', include("core_explore_common_app.urls")),
    url(r'^explore/example/', include("core_explore_example_app.urls")),
    url(r'^explore/federated/search/', include("core_explore_federated_search_app.urls")),
    url(r'^federated/search/', include("core_federated_search_app.urls")),
    url(r'^explore/keyword/', include("core_explore_keyword_app.urls")),
    url(r'^oaipmh_search/', include("core_explore_oaipmh_app.urls")),
    url(r'^dashboard/', include("core_dashboard_app.urls")),
    url(r'^oai_pmh/', include("core_oaipmh_harvester_app.urls")),
    url(r'^oai_pmh/server/', include("core_oaipmh_provider_app.urls")),
    url(r'^', include('core_module_blob_host_app.urls')),
    url(r'^', include('core_module_excel_uploader_app.urls')),
    url(r'^', include('core_module_periodic_table_app.urls')),
    url(r'^', include('core_module_chemical_composition_app.urls')),
]

# TODO: see if we can automate the discovery and run it from parser app
discover_modules(urlpatterns)