mirror of
https://github.com/ansible/awx.git
synced 2026-02-04 19:18:13 -03:30
* Disconnect logic to fill in role parents Get tests passing hopefully Whatever SonarCloud * remove role parents/children endpoints and related views * remove duplicate get_queryset method from RoleTeamsList --------- Co-authored-by: Peter Braun <pbraun@redhat.com>
17 lines
517 B
Python
17 lines
517 B
Python
# Copyright (c) 2017 Ansible, Inc.
|
|
# All Rights Reserved.
|
|
|
|
from django.urls import re_path
|
|
|
|
from awx.api.views import RoleList, RoleDetail, RoleUsersList, RoleTeamsList
|
|
|
|
|
|
urls = [
|
|
re_path(r'^$', RoleList.as_view(), name='role_list'),
|
|
re_path(r'^(?P<pk>[0-9]+)/$', RoleDetail.as_view(), name='role_detail'),
|
|
re_path(r'^(?P<pk>[0-9]+)/users/$', RoleUsersList.as_view(), name='role_users_list'),
|
|
re_path(r'^(?P<pk>[0-9]+)/teams/$', RoleTeamsList.as_view(), name='role_teams_list'),
|
|
]
|
|
|
|
__all__ = ['urls']
|