profile: rename multiple var and change to use
django rest frameword
This commit is contained in:
@ -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"),
|
||||
]
|
Reference in New Issue
Block a user