from django.urls import path from .views import home_page, search_hierarchy, refresh_author_db_view, domain_list, domain_detail from .views import field_list, field_detail, subfield_list, subfield_detail from .views import topic_list, topic_detail, author_detail, search_author urlpatterns = [ path('', home_page, name='home'), path("api/search/", search_hierarchy, name="search-hierarchy"), path("refresh_author_db", refresh_author_db_view, name="refresh-author-db"), path('domain/', domain_list, name='domain_list'), path('domain//', domain_detail, name='domain_detail'), path('field/', field_list, name='field_list'), path('field//', field_detail, name='field_detail'), path('subfield/', subfield_list, name='subfield_list'), path('subfield//', subfield_detail, name='subfield_detail'), path('topic/', topic_list, name='topic_list'), path('topic//', topic_detail, name='topic_detail'), path('author//', author_detail, name='author_detail'), path('search_author/', search_author, name='search_author'), ]