feat(profile): add user profile update serializer and update profile URL to use UserprofileAPIView ✨
This commit is contained in:
+2
-2
@@ -5,7 +5,7 @@ from knox import views as knox_views
|
||||
from .views import (
|
||||
LoginView,
|
||||
CreateTemporaryUserView,
|
||||
ManageUserView,
|
||||
UserprofileAPIView,
|
||||
KnoxTokenListApiView,
|
||||
ListUserView,
|
||||
UserDetailAPIView,
|
||||
@@ -27,7 +27,7 @@ from .views import (
|
||||
urlpatterns = [
|
||||
path("register/", CreateTemporaryUserView.as_view(), name="register"),
|
||||
path("register/verify/", VerifyOTPView.as_view(), name="verify-otp"),
|
||||
path("profile/", ManageUserView.as_view(), name="profile"),
|
||||
path("profile/", UserprofileAPIView.as_view(), name="profile"),
|
||||
path("login/", LoginView.as_view(), name="knox_login"),
|
||||
path("logout/", knox_views.LogoutView.as_view(), name="knox_logout"),
|
||||
path("logoutall/", knox_views.LogoutAllView.as_view(), name="knox_logoutall"),
|
||||
|
||||
Reference in New Issue
Block a user