from django.urls import path, include from account.api.views import ProfileView, ChangePasswordView, CreateUserView app_name = "account" urlpatterns = [ path('profile/', ProfileView.as_view(), name='profile'), path('change-password/', ChangePasswordView.as_view(), name='change_password'), path('register/', CreateUserView.as_view(), name='user_create'), ]
from django.urls import path from account.api.views import ProfileView, UpdatePassword, CreateUserView app_name = 'account' urlpatterns = [ path('me', ProfileView.as_view(), name='me'), path('change-password', UpdatePassword.as_view(), name='change-password'), path('register', CreateUserView.as_view(), name='register'), ]
from django.urls import path from account.api.views import ProfileView,UpdatePasswor,CreateUserViev app_name="account" urlpatterns=[ path("me",ProfileView.as_view(),name="me"), path("changepassword",UpdatePasswor.as_view(),name="changepassword"), path("register",CreateUserViev.as_view(),name="register"), ]