Renamed asset list url and added list link to form
This commit is contained in:
@@ -4,7 +4,7 @@ from asset.views import AssetCreateView, AssetDeleteView, AssetUpdateView, Asset
|
||||
|
||||
app_name = 'asset'
|
||||
urlpatterns = [
|
||||
path('', AssetListView.as_view(), name='index'),
|
||||
path('', AssetListView.as_view(), name='list'),
|
||||
path('add/', AssetCreateView.as_view(), name='add'),
|
||||
path('<int:pk>/', AssetUpdateView.as_view(), name='asset-update'),
|
||||
path('<int:pk>/', AssetUpdateView.as_view(), name='detail'),
|
||||
|
||||
Reference in New Issue
Block a user