People can join activities
This commit is contained in:
parent
a805e41367
commit
81cfaf12fa
7 changed files with 151 additions and 24 deletions
|
|
@ -1,7 +1,7 @@
|
|||
# Copyright (C) 2018-2020 by BDE ENS Paris-Saclay
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
from .views import ActivityTypeViewSet, ActivityViewSet, GuestViewSet
|
||||
from .views import ActivityTypeViewSet, ActivityViewSet, GuestViewSet, EntryViewSet
|
||||
|
||||
|
||||
def register_activity_urls(router, path):
|
||||
|
|
@ -11,3 +11,4 @@ def register_activity_urls(router, path):
|
|||
router.register(path + '/activity', ActivityViewSet)
|
||||
router.register(path + '/type', ActivityTypeViewSet)
|
||||
router.register(path + '/guest', GuestViewSet)
|
||||
router.register(path + '/entry', EntryViewSet)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue