mirror of
https://github.com/ansible/awx.git
synced 2026-02-12 07:04:45 -03:30
- Add database contraints to make sure addresses are unique If port is defined: address, port, protocol, websocket_path are unique together if port is not defined: address, protocol, websocket_path are unique together - Allow deleting address via API - Add ReceptorAddressAccess to determine permissions - awx-manage add_receptor_address returns changed: True if successful
18 lines
394 B
Python
18 lines
394 B
Python
# Copyright (c) 2017 Ansible, Inc.
|
|
# All Rights Reserved.
|
|
|
|
from django.urls import re_path
|
|
|
|
from awx.api.views import (
|
|
ReceptorAddressesList,
|
|
ReceptorAddressDetail,
|
|
)
|
|
|
|
|
|
urls = [
|
|
re_path(r'^$', ReceptorAddressesList.as_view(), name='receptor_addresses_list'),
|
|
re_path(r'^(?P<pk>[0-9]+)/$', ReceptorAddressDetail.as_view(), name='receptor_address_detail'),
|
|
]
|
|
|
|
__all__ = ['urls']
|