# coding:utf-8 from django.urls import path from .. import views app_name = 'assets' urlpatterns = [ # Resource asset url path('', views.AssetListView.as_view(), name='asset-index'), path('asset/', views.AssetListView.as_view(), name='asset-list'), path('asset/create/', views.AssetCreateView.as_view(), name='asset-create'), path('asset//', views.AssetDetailView.as_view(), name='asset-detail'), path('asset//update/', views.AssetUpdateView.as_view(), name='asset-update'), path('asset//delete/', views.AssetDeleteView.as_view(), name='asset-delete'), path('asset/update/', views.AssetBulkUpdateView.as_view(), name='asset-bulk-update'), # Asset user view path('asset//asset-user/', views.AssetUserListView.as_view(), name='asset-user-list'), # User asset view path('user-asset/', views.UserAssetListView.as_view(), name='user-asset-list'), # Resource admin user url path('admin-user/', views.AdminUserListView.as_view(), name='admin-user-list'), path('admin-user/create/', views.AdminUserCreateView.as_view(), name='admin-user-create'), path('admin-user//', views.AdminUserDetailView.as_view(), name='admin-user-detail'), path('admin-user//update/', views.AdminUserUpdateView.as_view(), name='admin-user-update'), path('admin-user//delete/', views.AdminUserDeleteView.as_view(), name='admin-user-delete'), path('admin-user//assets/', views.AdminUserAssetsView.as_view(), name='admin-user-assets'), # Resource system user url path('system-user/', views.SystemUserListView.as_view(), name='system-user-list'), path('system-user/create/', views.SystemUserCreateView.as_view(), name='system-user-create'), path('system-user//', views.SystemUserDetailView.as_view(), name='system-user-detail'), path('system-user//update/', views.SystemUserUpdateView.as_view(), name='system-user-update'), path('system-user//delete/', views.SystemUserDeleteView.as_view(), name='system-user-delete'), path('system-user//asset/', views.SystemUserAssetView.as_view(), name='system-user-asset'), path('label/', views.LabelListView.as_view(), name='label-list'), path('label/create/', views.LabelCreateView.as_view(), name='label-create'), path('label//update/', views.LabelUpdateView.as_view(), name='label-update'), path('label//delete/', views.LabelDeleteView.as_view(), name='label-delete'), path('domain/', views.DomainListView.as_view(), name='domain-list'), path('domain/create/', views.DomainCreateView.as_view(), name='domain-create'), path('domain//', views.DomainDetailView.as_view(), name='domain-detail'), path('domain//update/', views.DomainUpdateView.as_view(), name='domain-update'), path('domain//delete/', views.DomainDeleteView.as_view(), name='domain-delete'), path('domain//gateway/', views.DomainGatewayListView.as_view(), name='domain-gateway-list'), path('domain//gateway/create/', views.DomainGatewayCreateView.as_view(), name='domain-gateway-create'), path('domain/gateway//update/', views.DomainGatewayUpdateView.as_view(), name='domain-gateway-update'), path('cmd-filter/', views.CommandFilterListView.as_view(), name='cmd-filter-list'), path('cmd-filter/create/', views.CommandFilterCreateView.as_view(), name='cmd-filter-create'), path('cmd-filter//update/', views.CommandFilterUpdateView.as_view(), name='cmd-filter-update'), path('cmd-filter//', views.CommandFilterDetailView.as_view(), name='cmd-filter-detail'), path('cmd-filter//rule/', views.CommandFilterRuleListView.as_view(), name='cmd-filter-rule-list'), path('cmd-filter//rule/create/', views.CommandFilterRuleCreateView.as_view(), name='cmd-filter-rule-create'), path('cmd-filter//rule//update/', views.CommandFilterRuleUpdateView.as_view(), name='cmd-filter-rule-update'), ]