From 9cd5a381ad02d0f1d39dbdcdd635e6b90fcc77da Mon Sep 17 00:00:00 2001 From: sayampradhan <112542130+sayampradhan@users.noreply.github.com> Date: Sat, 15 Oct 2022 01:15:37 +0530 Subject: [PATCH] Clean Code --- CONTACT_MANAGEMENT_APP_DJANGO/app/urls.py | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/CONTACT_MANAGEMENT_APP_DJANGO/app/urls.py b/CONTACT_MANAGEMENT_APP_DJANGO/app/urls.py index 6b4d6f3..3cea9ab 100644 --- a/CONTACT_MANAGEMENT_APP_DJANGO/app/urls.py +++ b/CONTACT_MANAGEMENT_APP_DJANGO/app/urls.py @@ -1,15 +1,14 @@ from django.urls import path from . import views + urlpatterns = [ # path('', views.home, name="home"), - path('', views.HomePageView.as_view(), name="home"), + path("", views.HomePageView.as_view(), name="home"), # path('detail//', views.detail, name="detail"), - path('detail//', views.ContactDetailView.as_view(), name="detail"), - path('search/', views.search, name="search"), - path('contacts/create', views.ContactCreateView.as_view(), name="create"), - path('contacts/update/', - views.ContactUpdateView.as_view(), name="update"), - path('contacts/delete/', - views.ContactDeleteView.as_view(), name="delete"), - path('signup/', views.SignUpView.as_view(), name="signup"), + path("detail//", views.ContactDetailView.as_view(), name="detail"), + path("search/", views.search, name="search"), + path("contacts/create", views.ContactCreateView.as_view(), name="create"), + path("contacts/update/", views.ContactUpdateView.as_view(), name="update"), + path("contacts/delete/", views.ContactDeleteView.as_view(), name="delete"), + path("signup/", views.SignUpView.as_view(), name="signup"), ]