This commit is contained in:
= 2025-01-11 21:49:26 -05:00
parent 81af22484c
commit 3b93dd8466

View File

@ -10,9 +10,9 @@ router.register(r'tasks', TaskViewSet)
urlpatterns = [
path('api/', include(router.urls)),
path('accounts/login/', UserLoginView.as_view(), name='login'),
path('accounts/logout/', UserLogoutView.as_view(), name='logout'),
path('accounts/register/', UserRegistrationView.as_view(), name='welcome'),
path('login/', UserLoginView.as_view(), name='login'),
path('logout/', UserLogoutView.as_view(), name='logout'),
path('register/', UserRegistrationView.as_view(), name='welcome'),
path('projects/create/', create_project, name='create_project'),
path('projects/<int:project_id>/', project_dashboard, name='project_dashboard'),
path('projects/<int:project_id>/tasks/create/', create_task, name='create_task'),