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.
15 lines
890 B
15 lines
890 B
from django.urls import path
|
|
|
|
from .views.member import MemberDetail, MemberList, MyRole
|
|
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>/my-role", view=MyRole.as_view(), name="my_role"),
|
|
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"),
|
|
]
|