mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-24 07:53:47 +00:00
Merge branch 'Hotfix_API' into 'dev'
Add base_name to distinguish users/user and users/homecreation API endpoints See merge request federez/re2o!328
This commit is contained in:
commit
da91394163
1 changed files with 2 additions and 2 deletions
|
@ -86,8 +86,8 @@ router.register_viewset(r'topologie/portprofile', views.PortProfileViewSet, base
|
||||||
router.register_viewset(r'topologie/room', views.RoomViewSet)
|
router.register_viewset(r'topologie/room', views.RoomViewSet)
|
||||||
router.register(r'topologie/portprofile', views.PortProfileViewSet)
|
router.register(r'topologie/portprofile', views.PortProfileViewSet)
|
||||||
# USERS
|
# USERS
|
||||||
router.register_viewset(r'users/user', views.UserViewSet)
|
router.register_viewset(r'users/user', views.UserViewSet, base_name='user')
|
||||||
router.register_viewset(r'users/homecreation', views.HomeCreationViewSet)
|
router.register_viewset(r'users/homecreation', views.HomeCreationViewSet, base_name='homecreation')
|
||||||
router.register_viewset(r'users/club', views.ClubViewSet)
|
router.register_viewset(r'users/club', views.ClubViewSet)
|
||||||
router.register_viewset(r'users/adherent', views.AdherentViewSet)
|
router.register_viewset(r'users/adherent', views.AdherentViewSet)
|
||||||
router.register_viewset(r'users/serviceuser', views.ServiceUserViewSet)
|
router.register_viewset(r'users/serviceuser', views.ServiceUserViewSet)
|
||||||
|
|
Loading…
Reference in a new issue