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
791 B

from django.urls import path
from .views.member import MemberList, MemberDetail
from .views.tag import TagList, TagDetail
from .views.project import ProjectList, ProjectDetail
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"),
]