2019-08-25 22:35:03 +02:00
|
|
|
from django.urls import path, include
|
2017-12-25 13:31:29 +01:00
|
|
|
|
2019-07-24 22:27:14 +02:00
|
|
|
from . import views
|
2017-12-25 13:31:29 +01:00
|
|
|
|
|
|
|
urlpatterns = [
|
2019-08-25 22:35:03 +02:00
|
|
|
path('accounts/', include('django.contrib.auth.urls')),
|
2019-08-02 13:05:42 +02:00
|
|
|
path('', views.customers_table_view, name='customers'),
|
2019-07-25 20:34:52 +02:00
|
|
|
path('customer/<int:pk>/', views.CustomerDetailView.as_view(),
|
|
|
|
name='customer'),
|
2019-09-03 18:49:44 +02:00
|
|
|
path('customer/<int:pk>/computers/',
|
2019-08-02 13:05:42 +02:00
|
|
|
views.computers_table_view, name='computers'),
|
2019-09-03 18:49:44 +02:00
|
|
|
path('customer/<int:pk>/devices/', views.devices_table_view,
|
2019-07-24 22:56:08 +02:00
|
|
|
name='devices'),
|
2019-09-03 18:49:44 +02:00
|
|
|
path('customer/<int:pk>/nets/', views.nets_table_view,
|
2019-07-28 22:02:07 +02:00
|
|
|
name='nets'),
|
2019-09-24 20:30:43 +02:00
|
|
|
path('customer/<int:pk>/backups/', views.backups_table_view,
|
|
|
|
name='backups'),
|
2019-09-03 18:49:44 +02:00
|
|
|
path('computer/<int:pk>/', views.computer_detail_view,
|
2019-08-04 20:44:19 +02:00
|
|
|
name='computer'),
|
2019-09-03 18:49:44 +02:00
|
|
|
path('device/<int:pk>/', views.device_detail_view, name='device'),
|
2019-08-02 13:05:42 +02:00
|
|
|
path('net/<int:pk>/', views.net_detail_view, name='net'),
|
2019-08-02 14:31:55 +02:00
|
|
|
path('backup/<int:pk>/', views.backup_detail_view, name='backup'),
|
2019-11-30 16:47:49 +01:00
|
|
|
path('computers/all/', views.ComputersFilterView.as_view(),
|
2019-12-29 23:54:27 +01:00
|
|
|
name='all_computers'),
|
|
|
|
path('customer/<int:pk>/licenses/', views.licenses_table_view,
|
|
|
|
name='licenses'),
|
2019-12-30 11:00:15 +01:00
|
|
|
path('customer/<int:pk>/users/', views.users_table_view,
|
|
|
|
name='users'),
|
2020-01-01 19:58:40 +01:00
|
|
|
path('user/<int:pk>/', views.user_detail_view, name='user'),
|
2017-12-25 13:31:29 +01:00
|
|
|
]
|