mirror of https://github.com/doccano/doccano.git
pythonannotation-tooldatasetsactive-learningtext-annotationdatasetnatural-language-processingdata-labelingmachine-learning
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
790 B
14 lines
790 B
from django.urls import path
|
|
|
|
from .views.member import MemberDetail, MemberList
|
|
from .views.project import ProjectDetail, ProjectList
|
|
from .views.tag import TagDetail, TagList
|
|
|
|
urlpatterns = [
|
|
path(route="projects", view=ProjectList.as_view(), name="project_list"),
|
|
path(route="projects/<int:project_id>", view=ProjectDetail.as_view(), name="project_detail"),
|
|
path(route="projects/<int:project_id>/tags", view=TagList.as_view(), name="tag_list"),
|
|
path(route="projects/<int:project_id>/tags/<int:tag_id>", view=TagDetail.as_view(), name="tag_detail"),
|
|
path(route="projects/<int:project_id>/members", view=MemberList.as_view(), name="member_list"),
|
|
path(route="projects/<int:project_id>/members/<int:member_id>", view=MemberDetail.as_view(), name="member_detail"),
|
|
]
|