1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-29 12:50:55 +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,6 +9,6 @@ def register_activity_urls(router, path):
"""
Configure router for Activity REST API.
"""
router.register(path + r'activity', ActivityViewSet)
router.register(path + r'type', ActivityTypeViewSet)
router.register(path + r'guest', GuestViewSet)
router.register(path + '/activity', ActivityViewSet)
router.register(path + '/type', ActivityTypeViewSet)
router.register(path + '/guest', GuestViewSet)