2016-07-04 00:48:24 +00:00
|
|
|
from django.conf.urls import url
|
|
|
|
|
|
|
|
from . import views
|
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
url(r'^new_machine/(?P<userid>[0-9]+)$', views.new_machine, name='new-machine'),
|
|
|
|
url(r'^edit_machine/(?P<interfaceid>[0-9]+)$', views.edit_machine, name='edit-machine'),
|
|
|
|
url(r'^new_interface/(?P<machineid>[0-9]+)$', views.new_interface, name='new-interface'),
|
2016-07-07 11:19:03 +00:00
|
|
|
url(r'^add_machinetype/$', views.add_machinetype, name='add-machinetype'),
|
|
|
|
url(r'^del_machinetype/$', views.del_machinetype, name='del-machinetype'),
|
2016-07-04 00:48:24 +00:00
|
|
|
url(r'^$', views.index, name='index'),
|
|
|
|
]
|