vpnmanager/manager/urls.py

17 lines
739 B
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'),
path('makedevice/', views.makedevice, name="makedevice")
2018-11-25 15:05:26 +00:00
]