profile: rename multiple var and change to use

django rest frameword
This commit is contained in:
2023-11-12 00:03:08 +01:00
parent a7d9471d59
commit b9728dcb06
5 changed files with 22 additions and 23 deletions

View File

@ -3,5 +3,5 @@ from django.urls import path
from . import views
urlpatterns = [
path("<int:id>", views.ProfilePage.as_view(), name="profile_page"),
path("<int:pk>", views.ProfileView.as_view(), name="profile_page"),
]