mirror of
https://github.com/ansible/awx.git
synced 2026-02-24 06:26:00 -03:30
HostMetrics migration
This commit is contained in:
committed by
John Westcott IV
parent
ef4e77d78f
commit
d80759cd7a
@@ -3,8 +3,8 @@
|
||||
|
||||
from django.urls import re_path
|
||||
|
||||
from awx.api.views import HostMetricList
|
||||
from awx.api.views import HostMetricList, HostMetricDetail
|
||||
|
||||
urls = [re_path(r'$^', HostMetricList.as_view(), name='host_metric_list')]
|
||||
urls = [re_path(r'$^', HostMetricList.as_view(), name='host_metric_list'), re_path(r'^(?P<pk>[0-9]+)/$', HostMetricDetail.as_view(), name='host_metric_detail')]
|
||||
|
||||
__all__ = ['urls']
|
||||
|
||||
Reference in New Issue
Block a user