vpnmanager/manager/urls.py

22 lines
1 KiB
Python
Raw Normal View History

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"),
path('devices/<int:device_id>/download/', views.getconfig, name="getconfig"),
path('devices/<int:device_id>/delete/', views.deletedevice, name="deletedevice"),
path('devices/<int:device_id>/reboot/', views.rebootdevice, name="rebootdevice"),
path('heartbeat', views.heartbeat, name='heartbeat'),
2019-01-03 17:31:49 +00:00
path('wireless', views.wireless, name='wireless'),
2018-12-26 01:24:36 +00:00
path('makedevice/', views.makedevice, name="makedevice"),
2018-12-28 09:43:57 +00:00
path('makewifi/', views.makewifi, name='makewifi'),
path('wifi/<int:wifi_id>/edit/', views.editwifi, name='editwifi'),
2019-01-06 18:15:13 +00:00
path('wifi/<int:wifi_id>/delete/', views.deletewifi, name='deletewifi'),
2018-12-26 01:24:36 +00:00
path('update', views.update, name='update')
2018-11-25 15:05:26 +00:00
]