created a url path for the create new widget user page

parent ef91bdd9
#dashboard/urls.py
from django.urls import path
from .import views
from . import views
# url for dashboard
urlpatterns = [
path("", views.dashboard_view, name = "dashboard"),
path("widgetusers/<int:pk>/details", views.WidgetUserDetailView.as_view(), name="user_details"),
path("widgetusers/add/", views.WidgetUserCreateView.as_view(), name = "new_user"),
]
app_name = "dashboard"
\ No newline at end of file
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