from django.urls import path
from .views import TaskDelete, TaskDetails, TaskList, TaskCreate, TaskUpdate, TaskLogin, UserRegisterPage
from django.contrib.auth.views import LogoutView


urlpatterns = [
    path('login/', TaskLogin.as_view(), name="login"),
    path('logout/', LogoutView.as_view(next_page='login'), name="logout"),
    path('register/', UserRegisterPage.as_view(), name="register"),
    path('', TaskList.as_view(), name="tasks"),
    path('task/<int:pk>', TaskDetails.as_view(), name="task"),
    path('create-task/', TaskCreate.as_view(), name="create-task"),
    path('task-update/<int:pk>', TaskUpdate.as_view(), name="update-task"),
    path('task-delete/<int:pk>', TaskDelete.as_view(), name="delete-task"),



]

b5637d4d7acc66452e3d916b90f5cb3aecc3aa53
<mask token>

<mask token>
urlpatterns = [path('login/', TaskLogin.as_view(), name='login'), path(
    'logout/', LogoutView.as_view(next_page='login'), name='logout'), path(
    'register/', UserRegisterPage.as_view(), name='register'), path('',
    TaskList.as_view(), name='tasks'), path('task/<int:pk>', TaskDetails.
    as_view(), name='task'), path('create-task/', TaskCreate.as_view(),
    name='create-task'), path('task-update/<int:pk>', TaskUpdate.as_view(),
    name='update-task'), path('task-delete/<int:pk>', TaskDelete.as_view(),
    name='delete-task')]

from django.urls import path
from .views import TaskDelete, TaskDetails, TaskList, TaskCreate, TaskUpdate, TaskLogin, UserRegisterPage
from django.contrib.auth.views import LogoutView
urlpatterns = [path('login/', TaskLogin.as_view(), name='login'), path(
    'logout/', LogoutView.as_view(next_page='login'), name='logout'), path(
    'register/', UserRegisterPage.as_view(), name='register'), path('',
    TaskList.as_view(), name='tasks'), path('task/<int:pk>', TaskDetails.
    as_view(), name='task'), path('create-task/', TaskCreate.as_view(),
    name='create-task'), path('task-update/<int:pk>', TaskUpdate.as_view(),
    name='update-task'), path('task-delete/<int:pk>', TaskDelete.as_view(),
    name='delete-task')]

from django.urls import path
from .views import TaskDelete, TaskDetails, TaskList, TaskCreate, TaskUpdate, TaskLogin, UserRegisterPage
from django.contrib.auth.views import LogoutView


urlpatterns = [
    path('login/', TaskLogin.as_view(), name="login"),
    path('logout/', LogoutView.as_view(next_page='login'), name="logout"),
    path('register/', UserRegisterPage.as_view(), name="register"),
    path('', TaskList.as_view(), name="tasks"),
    path('task/<int:pk>', TaskDetails.as_view(), name="task"),
    path('create-task/', TaskCreate.as_view(), name="create-task"),
    path('task-update/<int:pk>', TaskUpdate.as_view(), name="update-task"),
    path('task-delete/<int:pk>', TaskDelete.as_view(), name="delete-task"),



]
