Updated Dashboard URLs

parent 83cd6652
...@@ -4,12 +4,9 @@ from .views import (Dashboard_list_view, WidgetUserDetailView, ...@@ -4,12 +4,9 @@ from .views import (Dashboard_list_view, WidgetUserDetailView,
urlpatterns = [ urlpatterns = [
path('dashboard/', Dashboard_list_view, name='Dashboard_list_view'), path('dashboard/', Dashboard_list_view, name='Dashboard_list_view'),
path('widgetusers', WidgetUserDetailView.as_view(), path('widgetusers/<int:pk>/details/', WidgetUserDetailView.as_view(), name='widgetuser-detail'),
name='widgetuser-detail'), path('widgetusers/add/', WidgetUserAddView.as_view(), name='widgetuser-add'),
path('widgetusers', WidgetUserAddView.as_view(), path('widgetusers/<int:pk>/edit/', WidgetUserUpdateView.as_view(), name='widgetuser-edit')
name='widgetuser-add'),
path('widgetusers/<int:pk>/edit/', WidgetUserUpdateView.as_view(),
name='widgetuser-edit')
] ]
app_name = "Dashboard" app_name = "Dashboard"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment