2018-11-25 21:02:16 +00:00
|
|
|
from django.urls import path, include
|
2018-11-25 15:05:26 +00:00
|
|
|
|
|
|
|
from . import views
|
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
path('', views.index, name='index'),
|
2018-11-26 19:55:09 +00:00
|
|
|
path('devices/', views.devices, name='devices'),
|
2018-11-25 21:02:16 +00:00
|
|
|
path('hosts', views.hosts, name='hosts'),
|
2018-11-26 19:55:09 +00:00
|
|
|
path('devices/<int:device_id>/edit/', views.editdevice, name='editdevice'),
|
|
|
|
path('devices/<int:device_id>/ping/', views.ping, name="ping"),
|
2018-11-25 21:02:16 +00:00
|
|
|
path('heartbeat', views.heartbeat, name='heartbeat')
|
2018-11-25 15:05:26 +00:00
|
|
|
]
|