2016-11-16 10:12:14 +00:00
|
|
|
# coding:utf-8
|
|
|
|
|
|
|
|
from django.conf.urls import url
|
2018-07-27 10:56:40 +00:00
|
|
|
from django.urls import path
|
2016-11-16 10:12:14 +00:00
|
|
|
from .. import views
|
|
|
|
|
|
|
|
app_name = 'perms'
|
|
|
|
|
|
|
|
urlpatterns = [
|
2018-07-27 10:56:40 +00:00
|
|
|
path('asset-permission/', views.AssetPermissionListView.as_view(), name='asset-permission-list'),
|
|
|
|
path('asset-permission/create/', views.AssetPermissionCreateView.as_view(), name='asset-permission-create'),
|
|
|
|
path('asset-permission/<uuid:pk>/update/', views.AssetPermissionUpdateView.as_view(), name='asset-permission-update'),
|
|
|
|
path('asset-permission/<uuid:pk>/', views.AssetPermissionDetailView.as_view(),name='asset-permission-detail'),
|
|
|
|
path('asset-permission/<uuid:pk>/delete/', views.AssetPermissionDeleteView.as_view(), name='asset-permission-delete'),
|
|
|
|
path('asset-permission/<uuid:pk>/user/', views.AssetPermissionUserView.as_view(), name='asset-permission-user-list'),
|
|
|
|
path('asset-permission/<uuid:pk>/asset/', views.AssetPermissionAssetView.as_view(), name='asset-permission-asset-list'),
|
2016-11-16 10:12:14 +00:00
|
|
|
]
|