From 18033eeb34f57a4b1919bfeb3f87614ab1a5b200 Mon Sep 17 00:00:00 2001 From: = Date: Sat, 11 Jan 2025 21:17:52 -0500 Subject: [PATCH] More typo --- main/urls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/urls.py b/main/urls.py index 5234d63..5073f00 100644 --- a/main/urls.py +++ b/main/urls.py @@ -2,7 +2,7 @@ from .views import create_project, project_dashboard, create_task from django.urls import path, include from rest_framework.routers import DefaultRouter -from .api_views import ProjectViewSet, TaskViewSet, UserRegistrationView, UserLoginView, UserLogoutView +from .api_views import ProjectViewSet, TaskViewSet, AccountViewSet, UserRegistrationView, UserLoginView, UserLogoutView router = DefaultRouter() router.register(r'projects', ProjectViewSet) @@ -13,7 +13,7 @@ urlpatterns = [ path('api/', include(router.urls)), path('accounts/login/', UserLoginView, name='login'), path('accounts/logout/', UserLogoutView, name='logout'), - path('accounts/register/', UserRegisterView, name='welcome'), + path('accounts/register/', UserRegistrationView, name='welcome'), path('projects/create/', create_project, name='create_project'), path('projects//', project_dashboard, name='project_dashboard'), path('projects//tasks/create/', create_task, name='create_task'),