11 lines
348 B
Python
11 lines
348 B
Python
from django.urls import path, include
|
|
|
|
from . import views
|
|
|
|
urlpatterns = [
|
|
path('', views.index, name='index'),
|
|
path('devices', views.devices, name='devices'),
|
|
path('hosts', views.hosts, name='hosts'),
|
|
path('devices/<int:device_id>', views.editdevice, name='editdevice'),
|
|
path('heartbeat', views.heartbeat, name='heartbeat')
|
|
]
|