from django.urls import path, include from . import views urlpatterns = [ path('', views.index, name='index'), path('devices/', views.devices, name='devices'), path('wifi/', views.devices, name='wifi'), path('users/', views.devices, name='users'), path('hosts', views.hosts, name='hosts'), path('devices//edit/', views.editdevice, name='editdevice'), path('devices//ping/', views.ping, name="ping"), path('devices//download/', views.getconfig, name="getconfig"), path('devices//delete/', views.deletedevice, name="deletedevice"), path('devices//reboot/', views.rebootdevice, name="rebootdevice"), path('heartbeat', views.heartbeat, name='heartbeat'), path('wireless', views.wireless, name='wireless'), path('makedevice/', views.makedevice, name="makedevice"), path('makewifi/', views.makewifi, name='makewifi'), path('wifi//edit/', views.editwifi, name='editwifi'), path('wifi//delete/', views.deletewifi, name='deletewifi'), path('user//edit/', views.edituser, name='edituser'), path('update', views.update, name='update') ]