EvilLogitech/python-project-52

View on GitHub
task_manager/users/urls.py

Summary

Maintainability
B
4 hrs
Test Coverage
A
100%
from django.urls import path
from . import views

urlpatterns = [
    path('', views.UsersListView.as_view(), name='users'),
    path('create/', views.UsersCreateView.as_view(), name='users_create'),
    path(
        '<int:pk>/update/',
        views.UsersUpdateView.as_view(),
        name='users_update'
    ),
    path(
        '<int:pk>/delete/',
        views.UsersDeleteView.as_view(),
        name='users_delete'
    ),
]