from django.urls import path
from names import views
urlpatterns = [
    path('emp/', views.emp, name="emp"),
    path('show/', views.show, name="show"),
    path('edit/<int:id>/', views.edit, name="edit"),
    path('update/<int:id>/', views.update, name="update"),
    path('delete/<int:id>/', views.destroy, name="delete"),
]

from django.urls import path
from names import views
urlpatterns = [
    path('emp/', views.emp, name="emp"),
    path('show/', views.show, name="show"),
    path('edit/<int:id>/', views.edit, name="edit"),
    path('update/<int:id>/', views.update, name="update"),
    path('delete/<int:id>/', views.destroy, name="delete"),
]
