17 lines
423 B
Python
17 lines
423 B
Python
from django.conf.urls import url
|
|
|
|
from . import views
|
|
|
|
urlpatterns = [
|
|
url(r'^$', views.index, name='index'),
|
|
url(r'^device/(?P<device_id>[0-9]+)/$',
|
|
views.device_details,
|
|
name='device'),
|
|
url(r'^computer/(?P<computer_id>[0-9]+)/$',
|
|
views.computer_details,
|
|
name='computer'),
|
|
url(r'^cronjob/(?P<cronjob_id>[0-9]+)/$',
|
|
views.cronjob_details,
|
|
name='cronjob'),
|
|
]
|