Created
March 24, 2022 10:53
-
-
Save DanyF-github/6a3bb2cf1cfd716a0c9e8c026685223a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
` | |
from django.urls import path | |
from . import views | |
app_name = 'lead_manager' | |
urlpatterns = [ | |
path('', views.LeadListView.as_view(), name='lead_list'), | |
path('create/', views.LeadCreateView.as_view(), name='lead_create'), | |
path('<int:pk>/update/', views.LeadUpdateView.as_view(), name='lead_update'), | |
path('<int:pk>/delete/', views.lead_delete, name='lead_delete'), | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment