2016-11-16 10:12:14 +00:00
|
|
|
# coding:utf-8
|
|
|
|
|
|
|
|
from django.conf.urls import url
|
|
|
|
from .. import views
|
|
|
|
|
|
|
|
app_name = 'perms'
|
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
url(r'^asset-permission$', views.AssetPermissionListView.as_view(), name='asset-permission-list'),
|
|
|
|
url(r'^asset-permission/create$', views.AssetPermissionCreateView.as_view(), name='asset-permission-create'),
|
2017-12-12 07:45:01 +00:00
|
|
|
url(r'^asset-permission/(?P<pk>[0-9a-zA-Z\-]{36})/update$', views.AssetPermissionUpdateView.as_view(), name='asset-permission-update'),
|
2018-02-02 10:52:09 +00:00
|
|
|
# url(r'^asset-permission/(?P<pk>[0-9a-zA-Z\-]{36})$', views.AssetPermissionDetailView.as_view(),name='asset-permission-detail'),
|
2017-12-12 07:45:01 +00:00
|
|
|
url(r'^asset-permission/(?P<pk>[0-9a-zA-Z\-]{36})/delete$', views.AssetPermissionDeleteView.as_view(), name='asset-permission-delete'),
|
2018-02-02 10:52:09 +00:00
|
|
|
# url(r'^asset-permission/(?P<pk>[0-9a-zA-Z\-]{36})/user$', views.AssetPermissionUserView.as_view(), name='asset-permission-user-list'),
|
|
|
|
# url(r'^asset-permission/(?P<pk>[0-9a-zA-Z\-]{36})/asset$', views.AssetPermissionAssetView.as_view(), name='asset-permission-asset-list'),
|
2016-11-16 10:12:14 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
|