Commit e6088a26 authored by Sharmaine Chua's avatar Sharmaine Chua

did some minor changes in dashboard urls

parent e3f09419
...@@ -3,7 +3,7 @@ from .views import * ...@@ -3,7 +3,7 @@ from .views import *
urlpatterns = [ urlpatterns = [
path('',index,name='index'), path('',index,name='index'),
path('dashboard/',WidgetUserListView,name='user_list'), path('dashboard/',WidgetUserListView.as_view(),name='user_list'),
path('widgetusers/<int:pk>/details/',WidgetUserDetailView.as_view(),name='user_details'), path('widgetusers/<int:pk>/details/',WidgetUserDetailView.as_view(),name='user_details'),
path('widgetusers/add/',WidgetUserCreateView.as_view(),name='new_user'), path('widgetusers/add/',WidgetUserCreateView.as_view(),name='new_user'),
path('widgetusers/<int:pk>/edit/',WidgetUserUpdateView.as_view(),name='edit_user'), path('widgetusers/<int:pk>/edit/',WidgetUserUpdateView.as_view(),name='edit_user'),
......
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