mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-06-29 04:40:55 +02:00
/note/user, /note/club, /note/special => /note
This commit is contained in:
@ -10,11 +10,8 @@ def register_note_urls(router, path):
|
||||
"""
|
||||
Configure router for Note REST API.
|
||||
"""
|
||||
router.register(path + r'note', NotePolymorphicViewSet)
|
||||
router.register(path + r'club', NoteClubViewSet)
|
||||
router.register(path + r'user', NoteUserViewSet)
|
||||
router.register(path + r'special', NoteSpecialViewSet)
|
||||
router.register(path + '', NotePolymorphicViewSet)
|
||||
|
||||
router.register(path + r'transaction/transaction', TransactionViewSet)
|
||||
router.register(path + r'transaction/template', TransactionTemplateViewSet)
|
||||
router.register(path + r'transaction/membership', MembershipTransactionViewSet)
|
||||
router.register(path + '/transaction/transaction', TransactionViewSet)
|
||||
router.register(path + '/transaction/template', TransactionTemplateViewSet)
|
||||
router.register(path + '/transaction/membership', MembershipTransactionViewSet)
|
||||
|
Reference in New Issue
Block a user