1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-24 03:08:47 +02:00

/note/user, /note/club, /note/special => /note

This commit is contained in:
Yohann D'ANELLO
2020-02-07 20:51:25 +01:00
parent f52a89637c
commit d22350faf8
4 changed files with 14 additions and 17 deletions

View File

@ -9,7 +9,7 @@ def register_members_urls(router, path):
"""
Configure router for Member REST API.
"""
router.register(path + r'profile', ProfileViewSet)
router.register(path + r'club', ClubViewSet)
router.register(path + r'role', RoleViewSet)
router.register(path + r'membership', MembershipViewSet)
router.register(path + '/profile', ProfileViewSet)
router.register(path + '/club', ClubViewSet)
router.register(path + '/role', RoleViewSet)
router.register(path + '/membership', MembershipViewSet)