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.
 
 
 
 
 
 

16 lines
320 B

from django.urls import path
from .views import MemberList, MemberDetail
urlpatterns = [
path(
route='members',
view=MemberList.as_view(),
name='member_list'
),
path(
route='members/<int:member_id>',
view=MemberDetail.as_view(),
name='member_detail'
)
]