From 4a2aff7d4925e86e4ccd934bc34ceca0f1032394 Mon Sep 17 00:00:00 2001 From: behruz-dev Date: Wed, 10 Sep 2025 18:02:01 +0500 Subject: [PATCH] fix --- core/apps/accounts/urls.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/apps/accounts/urls.py b/core/apps/accounts/urls.py index 7f4dd26..d4c0726 100644 --- a/core/apps/accounts/urls.py +++ b/core/apps/accounts/urls.py @@ -2,10 +2,11 @@ from django.urls import path, include from rest_framework_simplejwt.views import TokenObtainPairView from core.apps.accounts.views import like as like_views +from core.apps.accounts.views import user urlpatterns = [ - path('login/', TokenObtainPairView.as_view()), + path('login/', user.UserLoginApiView.as_view()), path('/like/', like_views.LikeApiView.as_view()), path('liked_products/', like_views.LikeProductListApiView.as_view()), ] \ No newline at end of file