Added profiles page and friends system

This commit is contained in:
ITQ
2024-03-03 09:20:17 +03:00
parent 13b4e8bafb
commit c81cd3560f
7 changed files with 132 additions and 3 deletions
+17 -1
View File
@@ -16,5 +16,21 @@ urlpatterns = [
path(
"me/profile",
api.users.views.ProfileMeApiView.as_view(),
)
name="profile-me",
),
path(
"profiles/<str:login>",
api.users.views.ProfileAPIView.as_view(),
name="profiles",
),
path(
"friends/add",
api.users.views.AddFriendAPIView.as_view(),
name="add-friend",
),
path(
"friends/remove",
api.users.views.RemoveFriendAPIView.as_view(),
name="remove-friend",
),
]